enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| ofpr
|game1= ofp
 
|version1= 1.75
|1.78


|gr1= Sides
|gr1= Sides
Line 9: Line 8:
|gr2= Broken Commands
|gr2= Broken Commands


|Enemy side (enemy to all units).
|descr= Returns ''Enemy'' side which is hostile to all units.
{{Warning|This command is not functional and appears to have be replaced by [[sideEnemy]].}}
{{Feature|warning|This command is not functional and appears to have been replaced by [[sideEnemy]].}}


| [[Side]] <nowiki>=</nowiki> '''enemy'''
|s1= [[enemy]]  


| [[Side]]
|r1= [[Side]]


 
|x1= <sqs>? _side == enemy : hint "ouch"</sqs>
|x1= <pre>?_side==enemy: hint "ouch"</pre>
 
| [[sideEnemy]], [[sideFriendly]]
|seealso= [[sideEnemy]] [[sideFriendly]]
}}
}}
<dl class="command_description">
<!-- Note Section BEGIN -->
No work in Armed Assault
<!-- Note Section END -->
</dl>
ARMA2: Note that 'enemy' does NOT appear in this list:
http://community.bistudio.com/wiki/Category:Scripting_Commands_Arma_2
See also 'sideEnemy' and 'sideFriendly'
[[User:BarmyArmy|BarmyArmy]]
No work in OFP 1.96, not present in commands list in flashpointresistance.exe 1.96.
[[User:DenV|denisko.redisko (denvdmj)]]

Latest revision as of 00:24, 2 February 2024

Hover & click on the images for description

Description

Description:
Returns Enemy side which is hostile to all units.
This command is not functional and appears to have been replaced by sideEnemy.
Groups:
SidesBroken Commands

Syntax

Syntax:
enemy
Return Value:
Side

Examples

Example 1:
? _side == enemy : hint "ouch"

Additional Information

See also:
sideEnemy sideFriendly

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note