enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[(!?=?=?)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 14: Line 14:
|r1= [[Side]]
|r1= [[Side]]


|x1= <code>[[?]]_side == enemy: hint "ouch"</code>
|x1= <sqf>[[?]]_side == enemy: hint "ouch"</sqf>


|seealso= [[sideEnemy]] [[sideFriendly]]
|seealso= [[sideEnemy]] [[sideFriendly]]
}}
}}

Revision as of 10:22, 13 May 2022

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