removeAction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(moved command to template) |
||
Line 3: | Line 3: | ||
[[Category:Scripting Commands OFP 1.46|REMOVEACTION]] | [[Category:Scripting Commands OFP 1.46|REMOVEACTION]] | ||
[[Category:Scripting Commands ArmA|REMOVEACTION]] | [[Category:Scripting Commands ArmA|REMOVEACTION]] | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.11|= Game version | |||
____________________________________________________________________________________________ | |||
| Remove action with given id index. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''removeAction''' index |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |||
|p2= index: [[Number]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>[[player]] removeAction 0 </pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- 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. | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
Revision as of 01:58, 3 August 2006
Description
- Description:
- Remove action with given id index.
- Groups:
- Uncategorised
Syntax
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.