Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Introduced in

Version:1.00

Description

Description:Remove an action with the given
id
ID index.

Syntax

Syntax:unitName removeAction index
Parameters:
  • unitName: Object - Affected unit.
  • index: Number of Action - Action index.
Return Value:Nothing

Examples

Examples:player removeAction 0

Additional Information

See also:
 

Multiplayer:
 

Problems:
 

Notes





This only removes actions added with the
addAction
command. You cannot remove default game actions, such as reload and salute, with this command.