west: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| West [[Side|side]]. |= | | West [[Side|side]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''west''' |= | | '''west''' |SYNTAX= | ||
| [[Side]] |= | | [[Side]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= SQS:<code>?((side _unit) == [[west]]) : [[hint]] "This is a western unit!"</code> |= | |x1= SQS:<code>?((side _unit) == [[west]]) : [[hint]] "This is a western unit!"</code> |EXAMPLE1= | ||
|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> |= | };</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[side]], [[east]], [[resistance]], [[civilian]], [[sideEmpty]], [[sideAmbientLife]] | |= | | [[side]], [[east]], [[resistance]], [[civilian]], [[sideEmpty]], [[sideAmbientLife]] | |SEEALSO= | ||
}} | }} |
Revision as of 14:51, 7 April 2019
Description
- Description:
- West side.
- Groups:
- Uncategorised
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Object Information
- Command Group: Sides