opfor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(formatting, added see also/category) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Pre-defined variable for the opfor side. | | Pre-defined variable for the opfor [[Side|side]]. | ||
<br> Alias for [[east]]. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 15: | Line 16: | ||
|x1= <code> if (side player == | |x1= <code> if ([[side]] [[player]] == [[opfor]]) [[then]] { | ||
[[hint]] "OPFOR"; | |||
}; | |||
</code>|= EXAMPLE1 | </code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[side]], [[civilian]], [[blufor]], [[east]], [[independent]], [[resistance]], [[west]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR | ||
Line 37: | Line 40: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]] |
Revision as of 14:09, 18 April 2014
Description
- Description:
- Pre-defined variable for the opfor side.
Alias for east. - Groups:
- Uncategorised
Syntax
- Syntax:
- opfor
- Return Value:
- Side
Examples
Additional Information
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