enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " {2,}\}\}" to " }}")
Line 19: Line 19:
|x1= <pre>?_side==enemy: hint "ouch"</pre>
|x1= <pre>?_side==enemy: hint "ouch"</pre>
| [[sideEnemy]], [[sideFriendly]]
| [[sideEnemy]], [[sideFriendly]]
}}
}}



Revision as of 00:47, 19 January 2021

Hover & click on the images for description

Description

Description:
Enemy side (enemy to all units).
This command is not functional and appears to have be replaced by sideEnemy.
Groups:
SidesBroken Commands

Syntax

Syntax:
Side = enemy
Return Value:
Side

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)