BIS fnc holdActionRemove: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added page for BIS_fnc_holdActionRemove (Please review))
m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[call\]\]) ([^ ]+) " to "|s$1= $2 call $4 ")
(28 intermediate revisions by 4 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= <code>[ [[player]],10 ] [[call]] [[BIS_fnc_holdActionRemove]];</code>


| [[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}}]]

Revision as of 19:18, 20 June 2021

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