BIS fnc holdActionRemove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to " ")
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.62


|1.62
|gr1= Interaction


|gr1 = Interaction
|descr= Removes a hold action. This does exactly the same as [[removeAction]].


|Removes a hold action. This does exactly the same as [[removeAction]].
|s1= [target,ID] call [[BIS_fnc_holdActionRemove]]


| [target,ID] [[call]] [[BIS_fnc_holdActionRemove]];
|p1= target: [[Object]] - object the action is attached to


|p1= target: [[Object]] - Object the action is attached to
|p2= ID: [[Number]] - action ID


|p2= ID: [[Number]] - Action ID
|x1= <sqf>[player,10] call BIS_fnc_holdActionRemove;</sqf>


|x1= <code>[ [[player]],10 ] [[call]] [[BIS_fnc_holdActionRemove]];</code>
|r1= [[Nothing]]


| [[Nothing]] - Nothing
|seealso= [[BIS_fnc_holdActionAdd]]
 
|[[BIS_fnc_holdActionAdd]]
}}
}}
[[Category:Functions|{{uc:param}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:param}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:param}}]]

Latest revision as of 18:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Removes a hold action. This does exactly the same as removeAction.
Execution:
call
Groups:
Interaction

Syntax

Syntax:
[target,ID] call BIS_fnc_holdActionRemove
Parameters:
target: Object - object the action is attached to
ID: Number - action ID
Return Value:
Nothing

Examples

Example 1:
[player,10] call BIS_fnc_holdActionRemove;

Additional Information

See also:
BIS_fnc_holdActionAdd

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