Difference between revisions of "removeAction"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 37: Line 37:
 
[[Category:Scripting Commands OFP 1.46|REMOVEACTION]]
 
[[Category:Scripting Commands OFP 1.46|REMOVEACTION]]
 
[[Category:Scripting Commands ArmA|REMOVEACTION]]
 
[[Category:Scripting Commands ArmA|REMOVEACTION]]
 +
[[Category:Command_Group:_Activators|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]]

Revision as of 00:05, 11 January 2008

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:
Unit removeAction index
Parameters:
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