removeAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1.21 -> 1.20)
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''removeAction''' index |= Syntax
| [[Object#UnitUnit]] '''removeAction''' index |= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= index: [[Number]] of Action
 
|p2= index: [[Number]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 13:30, 29 August 2007


Hover & click on the images for description

Description

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

Syntax

Syntax:
Object#UnitUnit removeAction index
Parameters:
index: Number of Action
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