BIS fnc holdActionRemove: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 2/7) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Removes a hold action. If the removed hold actions was the last one, disable the scripted framework.|= | |Removes a hold action. If the removed hold actions was the last one, disable the scripted framework.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [target,ID] [[call]] [[BIS_fnc_holdActionRemove]];|= | | [target,ID] [[call]] [[BIS_fnc_holdActionRemove]];|SYNTAX= | ||
|p1= target: [[Object]] - Object the action is attached to |= Parameter 1 | |p1= target: [[Object]] - Object the action is attached to |= Parameter 1 | ||
Line 18: | Line 18: | ||
|x1= <code>[ [[player]],10 ] [[call]] [[BIS_fnc_holdActionRemove]];</code>|= Example 1 | |x1= <code>[ [[player]],10 ] [[call]] [[BIS_fnc_holdActionRemove]];</code>|= Example 1 | ||
| [[Nothing]] - Nothing |= | | [[Nothing]] - Nothing |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[BIS_fnc_holdActionAdd]] |= | |[[BIS_fnc_holdActionAdd]] |SEEALSO= | ||
}} | }} |
Revision as of 11:28, 7 April 2019
Description
- Description:
- Removes a hold action. If the removed hold actions was the last one, disable the scripted framework.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [target,ID] call BIS_fnc_holdActionRemove;
- Parameters:
- target: Object - Object the action is attached to
- ID: Number - Action ID
- Return Value:
- Nothing - 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