Difference between revisions of "removeAction"

From Bohemia Interactive Community
Jump to navigation Jump to search
(moved command to template)
m (fixed example, note)
Line 23: Line 23:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>[[player]] removeAction 0 </pre> |= Example 1
+
|x1= <code>[[player]] '''removeAction''' 0 </code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
Line 33: Line 33:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
This only removes actions added with the [[addAction]] command. You cannot remove default game actions, such as reload and salute, with this command.
+
This only removes actions added with the [[addAction]] command. You cannot remove default game actions, such as reload and salute, with this command.
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>

Revision as of 00:45, 4 August 2006

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