enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(48 intermediate revisions by 16 users not shown)
Line 1: Line 1:
<h2 style="color:#000066">'''enemy'''</h2>
{{RV|type=command


'''Operand types:'''
|game1= ofp
|version1= 1.75


None
|gr1= Sides


'''Type of returned value:'''
|gr2= Broken Commands


[[Side]]
|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]].}}


'''Description:'''
|s1= [[enemy]]


Enemy side (enemy to all units).
|r1= [[Side]]
 
|x1= <sqs>? _side == enemy : hint "ouch"</sqs>
 
|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