enemy: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(warning template added)
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofpr |Game name=
| ofpr |Game name=
Line 9: Line 8:


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


|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]].}}  |DESCRIPTION=
____________________________________________________________________________________________


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


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


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



Revision as of 01:20, 17 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