east: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
m (Text replacement - " " to " ")
Line 31: Line 31:


|r1= [[Side]]
|r1= [[Side]]
 
 
|x1= [[SQS Syntax|SQS]]:<code>?([[side]] _unit == [[east]]) : [[hint]] "This is a eastern unit!"</code>
|x1= [[SQS Syntax|SQS]]:<code>?([[side]] _unit == [[east]]) : [[hint]] "This is a eastern unit!"</code>



Revision as of 20:00, 10 June 2021

Hover & click on the images for description

Description

Description:
Pre-defined variable for the eastern side.
Alias:
opfor
Groups:
Sides

Syntax

Syntax:
east
Return Value:
Side

Examples

Example 1:
SQS:?(side _unit == east) : hint "This is a eastern unit!"
Example 2:
SQF:if (side _unit == east) then { hint "This is an eastern unit!"; };

Additional Information

See also:
side west resistance civilian sideEmpty sideAmbientLife

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
Posted on April 17, 2007 - 10:46
Maruk (talk)
In Arma the terms OPFOR, BLUFOR, Independents and Civilians are used in the front end UI.