canMove: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
[[Category:Scripting Commands OFP 1.46|CANMOVE]] | [[Category:Scripting Commands OFP 1.46|CANMOVE]] | ||
[[Category:Scripting Commands ArmA|CANMOVE]] | [[Category:Scripting Commands ArmA|CANMOVE]] | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] |
Revision as of 07:28, 20 February 2007
Description
- Description:
- Returns if the given vehicle is still able to move. This command checks only the damage value, not the amount of fuel!
- Groups:
- Uncategorised
Syntax
- Syntax:
- canMove vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Boolean - true if the vehicle is still able to move, false if not
Examples
- Example 1:
?!(canMove tank) : player sideChat "He's nailed on the ground! Now hurry!"
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