removeAction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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 14:43, 24 January 2009
Description
- Description:
- Remove action with given id index.
- Groups:
- Uncategorised
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
-
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.20
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Activators
- Command Group: Interaction
- Command Group: Unit Control