removeAction

From Bohemia Interactive Community
Revision as of 19:21, 15 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

unit removeAction index

Operand types:

unit: Object

index: Number

Type of returned value:

Nothing

Description:

Remove action with given id.

Example:

player removeAction 0


Comments

General Barron

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