enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= ofp
|game1= ofp
|version1= 1.75
|version1= 1.75


Line 9: 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]]


|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 01: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