enemy: Difference between revisions
Jump to navigation
Jump to search
(warning template added) |
Lou Montana (talk | contribs) 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
Description
- Description:
- Enemy side (enemy to all units).
- Groups:
- SidesBroken Commands
Syntax
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)