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 - "{{Feature|Warning|" to "{{Feature|warning|")
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
|gr2= Broken Commands
|gr2= Broken Commands


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


|s1= [[enemy]]  
|s1= [[enemy]]  
Line 14: Line 15:
|r1= [[Side]]
|r1= [[Side]]


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


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

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