removeAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|R]]
[[Category:Scripting Commands ArmA|R]]


back to [[Scripting_Reference#R|COMREF]]


<h2 style="color:#000066">''unit '''''removeAction ''index'''''</h2>
<h2 style="color:#000066">''unit '''''removeAction ''index'''''</h2>

Revision as of 12:04, 23 April 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.