removeAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example, note)
m (Fixed version)
Line 8: Line 8:
| ofp |= Game name
| ofp |= Game name


|1.11|= Game version
|1.21|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:53, 20 August 2006


Hover & click on the images for description

Description

Description:
Remove action with given id index.
Groups:
Uncategorised

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

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

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