removeAction: Difference between revisions

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 23:45, 3 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