canStand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
m (Text replacement - "\| \[\[.+\]\] \<nowiki\>\=\<\/nowiki\> " to "| ")
Line 11: Line 11:
| Returns if the given soldier is able to stand up.
| Returns if the given soldier is able to stand up.


| [[Boolean]] <nowiki>=</nowiki> '''canStand''' unitName
| '''canStand''' unitName


|p1= unitName: [[Object]]
|p1= unitName: [[Object]]

Revision as of 16:34, 8 May 2021

Hover & click on the images for description

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

See also:
canMovecanFire

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.