enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatting)
(formatting)
Line 4: Line 4:


|version1= 1.75
|version1= 1.75
|game2= ofpe
|version2=
|game3= arma1
|version3=
|game4= arma2
|version4=
|game5= arma2oa
|version5=
|game6= tkoh
|version6=
|game7= arma3
|version7=


|gr1= Sides
|gr1= Sides
Line 33: Line 9:
|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 be 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 41: Line 17:
|x1= <code>[[?]]_side [[==]] [[enemy]]: [[hint]] "ouch"</code>
|x1= <code>[[?]]_side [[==]] [[enemy]]: [[hint]] "ouch"</code>


|seealso= [[sideEnemy]], [[sideFriendly]]
|seealso= [[sideEnemy]] [[sideFriendly]]
}}
}}
<dl class="command_description">
<!-- Note Section BEGIN -->
No work in Armed Assault
<!-- Note Section END -->
</dl>
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'
[[User:BarmyArmy|BarmyArmy]]
No work in OFP 1.96, not present in commands list in flashpointresistance.exe 1.96.
[[User:DenV|denisko.redisko (denvdmj)]]

Revision as of 11:25, 27 March 2021

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