Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Remove an action with the given 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.