removeAction

From Bohemia Interactive Community
Revision as of 00:45, 4 August 2006 by Hoz (talk | contribs) (fixed example, note)
Jump to navigation Jump to search
Introduced with Operation Flashpoint version 1.111.11
Hover & click on the images for descriptions

Description

Description:
Remove action with given id index.

Syntax

Syntax:
unit removeAction index
Parameters:
unit: Object
index: Number
Return Value:
Nothing

Examples

Example 1:
player removeAction 0

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

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

Bottom Section