removeAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|REMOVEACTION]]
[[Category:Scripting Commands|REMOVEACTION]]
[[Category:Scripting Commands OFP 1.97|REMOVEACTION]]
[[Category:Scripting Commands OFP 1.96|REMOVEACTION]]
[[Category:Scripting Commands OFP 1.46|REMOVEACTION]]
[[Category:Scripting Commands OFP 1.46|REMOVEACTION]]
[[Category:Scripting Commands ArmA|REMOVEACTION]]
[[Category:Scripting Commands ArmA|REMOVEACTION]]

Revision as of 21:00, 1 June 2006


unit removeAction index


Operand types:

unit: Object

index: Number

Type of returned value:

Nothing

Compatibility:

Added in version 1.11

Description:

Remove action with given id index.


Example:

player removeAction 0


Comments

Note: This only removes actions added with the addAction command.

You cannot remove default game actions, such as reload and salute, with this command.