canStand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "SQS" to "SQS")
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "")
Line 41: Line 41:




[[Category:Scripting Commands OFP 1.99|CANSTAND]]
[[Category:Scripting Commands OFP 1.96|CANSTAND]]
[[Category:Scripting Commands OFP 1.46|CANSTAND]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 00:28, 25 March 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.