Difference between revisions of "removeAction"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 10: Line 10:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[Object#Unit|Unit]] '''removeAction''' index |= Syntax
+
| unitName '''removeAction''' index |= Syntax
  
|p1= index: [[Number]] of Action
+
|p1= unitName: [[Object]] |= Parameter 1
 +
|p2= index: [[Number]] of Action |= Parameter 2
  
 
| [[Nothing]] |= Return value
 
| [[Nothing]] |= Return value

Revision as of 15:43, 24 January 2009

Introduced with Operation Flashpoint version 1.201.20
Hover & click on the images for descriptions

Description

Description:
Remove action with given id index.

Syntax

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