independent: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
| Pre-defined variable for the independent [[Side|side]]. | | Pre-defined variable for the independent [[Side|side]]. | ||
<br> Alias for [[resistance]]. |= | <br> Alias for [[resistance]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''independent''' |= | | '''independent''' |SYNTAX= | ||
| [[Side]] |RETURNVALUE= | | [[Side]] |RETURNVALUE= | ||
Line 18: | Line 18: | ||
|x1= SQF:<code>[[if]] (([[side]] _unit) == [[independent]]) [[then]] { | |x1= SQF:<code>[[if]] (([[side]] _unit) == [[independent]]) [[then]] { | ||
[[hint]] "This is a independent unit!"; | [[hint]] "This is a independent unit!"; | ||
};</code> |= | };</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:41, 7 April 2019
Description
- Description:
- Pre-defined variable for the independent side.
Alias for resistance. - Groups:
- Uncategorised
Syntax
- Syntax:
- independent
- Return Value:
- Side
Examples
- Example 1:
- SQF:
if ((side _unit) == independent) then { hint "This is a independent unit!"; };
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