independent: Difference between revisions

From Bohemia Interactive Community
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]].  |= Description
<br> Alias for [[resistance]].  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''independent''' |= Syntax
| '''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> |= Example 1
};</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:41, 7 April 2019

Hover & click on the images for description

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

See also:
sidecivilianbluforeastopforresistancewest

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

Bottom Section