west: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 7: Line 6:


|gr1= Sides |GROUP1=
|gr1= Sides |GROUP1=
____________________________________________________________________________________________


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


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


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


|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> |EXAMPLE1=
Line 22: Line 18:
     [[hint]] "This is a western unit!";
     [[hint]] "This is a western unit!";
};</code> |EXAMPLE2=
};</code> |EXAMPLE2=
____________________________________________________________________________________________


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

Revision as of 05:16, 17 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

Notes

Bottom Section