enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.78|Game version=
|1.78


|gr1= Sides |GROUP1=
|gr1= Sides


|gr2= Broken Commands |GROUP2=
|gr2= Broken Commands


|Enemy side (enemy to all units).
|Enemy side (enemy to all units).
{{Warning|This command is not functional and appears to have be replaced by [[sideEnemy]].}} |DESCRIPTION=
{{Warning|This command is not functional and appears to have be replaced by [[sideEnemy]].}}


| [[Side]] <nowiki>=</nowiki> '''enemy''' |SYNTAX=
| [[Side]] <nowiki>=</nowiki> '''enemy'''


| [[Side]] |RETURNVALUE=
| [[Side]]


   
   
|x1= <pre>?_side==enemy: hint "ouch"</pre> |EXAMPLE1=
|x1= <pre>?_side==enemy: hint "ouch"</pre>
| [[sideEnemy]], [[sideFriendly]] |SEEALSO=
| [[sideEnemy]], [[sideFriendly]]


}}
}}

Revision as of 00:36, 18 January 2021

Hover & click on the images for description

Description

Description:
Enemy side (enemy to all units).
This command is not functional and appears to have be replaced by sideEnemy.
Groups:
SidesBroken Commands

Syntax

Syntax:
Side = enemy
Return Value:
Side

Examples

Example 1:
?_side==enemy: hint "ouch"

Additional Information

See also:
sideEnemysideFriendly

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

Notes

No work in Armed Assault

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' BarmyArmy

No work in OFP 1.96, not present in commands list in flashpointresistance.exe 1.96. denisko.redisko (denvdmj)

Bottom Section