Arma 3 Scripting

canMove

  • Global argument
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · original wiki page

Description

Returns if the given vehicle is still able to move.

Syntax

canMove vehicle

Parameters:

Returns: Boolean - true if the vehicle is able to move, false if not

Examples

Example 1

if (not canMove _tank) then
{
    player sideChat "He's nailed on the ground! Now hurry!";
};

See also

canFire · canStand