east: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">") |
Lou Montana (talk | contribs) 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
Description
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Sides