removeAllActions: Difference between revisions

From Bohemia Interactive Community
No edit summary
No edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= unit: [[Object]] - unit, vehicle or static 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>[[player]] [[removeAllActions]] 0;</code>|= EXAMPLE1  
|x1= <code>[[removeAllActions]] [[player]];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 31: Line 30:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 30 October, 2013
<dt class="note">[[User:Druid|Druid]]
<dd class="note">
Syntax of this command was until Arma 3 ver. 1.06: ''unit'' '''removeAllActions''' ''number''


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 10:43, 30 October 2013

Hover & click on the images for description

Description

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

Syntax

Syntax:
removeAllActions unit
Parameters:
unit: Object - unit, vehicle or static object
Return Value:
Nothing

Examples

Example 1:
removeAllActions player;

Additional Information

See also:
addActionremoveActionsetUserActionText

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note

Notes

Posted on 30 October, 2013
Druid
Syntax of this command was until Arma 3 ver. 1.06: unit removeAllActions number

Bottom Section