west: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofp |Game name=
| ofp


|1.00|Game version=
|1.00


|gr1= Sides |GROUP1=
|gr1= Sides


| West [[Side|side]]. |DESCRIPTION=
| West [[Side|side]].


| '''west''' |SYNTAX=
| '''west'''


| [[Side]] |RETURNVALUE=
| [[Side]]


|x1= SQS:<code>?((side _unit) == [[west]]) : [[hint]] "This is a western unit!"</code> |EXAMPLE1=
|x1= SQS:<code>?((side _unit) == [[west]]) : [[hint]] "This is a western unit!"</code>


|x2= SQF:<code>[[if]] (([[side]] _unit) == [[west]]) [[then]] {
|x2= SQF:<code>[[if]] (([[side]] _unit) == [[west]]) [[then]] {
     [[hint]] "This is a western unit!";
     [[hint]] "This is a western unit!";
};</code> |EXAMPLE2=
};</code>


| [[side]], [[east]], [[resistance]], [[civilian]], [[sideEmpty]], [[sideAmbientLife]] | |SEEALSO=
| [[side]], [[east]], [[resistance]], [[civilian]], [[sideEmpty]], [[sideAmbientLife]] |


}}
}}

Revision as of 12:40, 18 January 2021

Hover & click on the images for description

Description

Description:
West side.
Groups:
Sides

Syntax

Syntax:
west
Return Value:
Side

Examples

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

Additional Information

See also:
sideeastresistanceciviliansideEmptysideAmbientLife

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

Bottom Section