canStand

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Returns if the given soldier is able to stand up.

Syntax

Syntax:
Boolean = canStand unitName
Parameters:
unitName: Object
Return Value:
Boolean - true if he's still able to stand up, false if not. Automatically return false if unit is vehicle.

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

Multiplayer:
-
See also:
canMovecanFire

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Kronzky
The command may return true for dead units.

Bottom Section