removeAllActions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{RV\|type=command \| *arma3 \|0.50 \|arg= *(.+) * \|eff= *(.+) * \|gr1= *(.+) * \| *(.+) * \| *(.+) .* \|p1= *(.+) * \| (.*) \|x1= *(.+) * \|seealso= *(.+) * \}\}" to "{{RV|type=command |game1= arma3 |version1= 0.50...)
m (Some wiki formatting)
Line 4: Line 4:
|version1= 0.50
|version1= 0.50


|arg= global
|arg= global


|eff= local
|eff= local


|gr1= Interaction
|gr1= Interaction


|descr= Removes all unit's user added actions.
|descr= Removes all unit's user added actions.
{{Feature | informative | This command's syntax was {{ic|unit [[removeAllActions]] number}} from {{arma3}} v0.50 to v1.06.}}


|s1= '''removeAllActions'''
|s1= [[removeAllActions]] unit


|p1= unit: [[Object]] - unit, vehicle or static object
|p1= unit: [[Object]] - unit, vehicle or static object


|r1= [[Nothing]]
|r1= [[Nothing]]


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


|seealso= [[actionIDs]], [[actionParams]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[action]]
|seealso= [[actionIDs]], [[actionParams]], [[addAction]], [[setUserActionText]], [[inGameUISetEventHandler]], [[showHUD]], [[inputAction]], [[removeAction]], [[action]]
}}
}}
<dl class="command_description">
<dt><dt>
<dd class="notedate">Posted on 30 October, 2013 </dd>
<dt class="note">[[User:Druid|Druid]]</dt>
<dd class="note">
Syntax of this command was until Arma 3 ver. 1.06: ''unit'' '''removeAllActions''' ''number''
</dl>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 15:36, 9 June 2021

Hover & click on the images for description

Description

Description:
Removes all unit's user added actions.
This command's syntax was unit removeAllActions number from Arma 3 v0.50 to v1.06.
Groups:
Interaction

Syntax

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

Examples

Example 1:
removeAllActions player;

Additional Information

See also:
actionIDsactionParamsaddActionsetUserActionTextinGameUISetEventHandlershowHUDinputActionremoveActionaction

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