canStand: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) |
||
Line 18: | Line 18: | ||
[[true]] if he's still able to stand up, [[false]] if not. Automatically return [[false]] if unit is vehicle. | [[true]] if he's still able to stand up, [[false]] if not. Automatically return [[false]] if unit is vehicle. | ||
|x1= [[SQS]]: <code>?!([[canStand]] [[player]]) : [[player]] [[groupChat]] "My legs! They hit my legs!"</code> | |x1= [[SQS Syntax|SQS]]: <code>?!([[canStand]] [[player]]) : [[player]] [[groupChat]] "My legs! They hit my legs!"</code> | ||
|x2= <code>[[if]] (![[canStand]] [[player]]) then | |x2= <code>[[if]] (![[canStand]] [[player]]) then |
Revision as of 22:58, 24 March 2021
Description
- Description:
- Description needed
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unitName: Object
- Return Value:
- Return value needed
Examples
- Example 1:
- SQS:
?!(canStand player) : player groupChat "My legs! They hit my legs!"
- Example 2:
if (!canStand player) then { player groupChat "My legs! They hit my legs!"; };
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
- Kronzky
- The command may return true for dead units.