removeAllActions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (arma3 category)
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Removes all actions.  |= Description
| Removes all unit's user added actions.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''removeAllActions''' |= Syntax
| unit '''removeAllActions''' number |= Syntax


|p1= unit: [[Object]]  |= PARAMETER1  
|p1= unit: [[Object]] - unit, vehicle or static object |= PARAMETER1
|p2= number: [[Number]] - any number, it doesn't matter (The syntax of command might change in the future to ''''removeAllActions''' unit' as per [http://feedback.arma3.com/view.php?id=5317 this assigned ticket]) |= PARAMETER1  


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>
|x1= <code>[[player]] [[removeAllActions]] 0;</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[addAction]], [[removeAction]], [[setUserActionText]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 13:52, 24 August 2013

Hover & click on the images for description

Description

Description:
Removes all unit's user added actions.
Groups:
Uncategorised

Syntax

Syntax:
unit removeAllActions number
Parameters:
unit: Object - unit, vehicle or static object
number: Number - any number, it doesn't matter (The syntax of command might change in the future to 'removeAllActions unit' as per this assigned ticket)
Return Value:
Nothing

Examples

Example 1:
player removeAllActions 0;

Additional Information

See also:
addActionremoveActionsetUserActionText

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

Bottom Section