enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "([^ ])\|\$Warning( *)\|" to "$1|$2Warning$2|")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 18: Line 18:
   
   
|x1= <pre>?_side==enemy: hint "ouch"</pre>
|x1= <pre>?_side==enemy: hint "ouch"</pre>
| [[sideEnemy]], [[sideFriendly]]
|seealso= [[sideEnemy]], [[sideFriendly]]
}}
}}



Revision as of 23:42, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
SidesBroken Commands

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

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

Additional Information

See also:
sideEnemysideFriendly

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
No work in Armed Assault

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' BarmyArmy

No work in OFP 1.96, not present in commands list in flashpointresistance.exe 1.96. denisko.redisko (denvdmj)