BIS fnc holdActionRemove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 2/7)
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.62


|1.62|= Game version
|gr1= Interaction
____________________________________________________________________________________________


|Removes a hold action. If the removed hold actions was the last one, disable the scripted  framework.|= Description
|descr= Removes a hold action. This does exactly the same as [[removeAction]].
____________________________________________________________________________________________


| [target,ID] [[call]] [[BIS_fnc_holdActionRemove]];|= Syntax
|s1= [target,ID] call [[BIS_fnc_holdActionRemove]]


|p1= target: [[Object]] - Object the action is attached to |= Parameter 1
|p1= target: [[Object]] - object the action is attached to


|p2= ID: [[Number]] - Action ID |= Parameter 2
|p2= ID: [[Number]] - action ID


|x1= <code>[ [[player]],10 ] [[call]] [[BIS_fnc_holdActionRemove]];</code>|= Example 1
|x1= <sqf>[player,10] call BIS_fnc_holdActionRemove;</sqf>


| [[Nothing]] - Nothing |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________
____________________________________________________________________________________________
 
|[[BIS_fnc_holdActionAdd]] |= See also


|seealso= [[BIS_fnc_holdActionAdd]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:param}}]]
[[Category:Functions|{{uc:param}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:param}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:param}}]]

Latest revision as of 17: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