BIS fnc removeStackedEventHandler: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Event Handlers | ||
| | |descr= Removes a stacked event handler with specified custom id. | ||
| | |s1= [id, event] call [[BIS_fnc_removeStackedEventHandler]] | ||
|p1= key: [[String]] - custom id, a unique identifier, also returned by [[BIS_fnc_addStackedEventHandler]] | |p1= key: [[String]] - custom id, a unique identifier, also returned by [[BIS_fnc_addStackedEventHandler]] | ||
Line 15: | Line 14: | ||
|p2= event: [[String]] - event handler name, see [[BIS_fnc_addStackedEventHandler]] fr supported event handlers | |p2= event: [[String]] - event handler name, see [[BIS_fnc_addStackedEventHandler]] fr supported event handlers | ||
| [[Boolean]] - [[true]] on success, [[false]] on failure | |r1= [[Boolean]] - [[true]] on success, [[false]] on failure | ||
| [ | |x1= <sqf>["someId", "onEachFrame"] call BIS_fnc_removeStackedEventHandler;</sqf> | ||
|seealso= [[BIS_fnc_addStackedEventHandler]] | |||
}} | }} | ||
Latest revision as of 23:11, 12 July 2022
Description
- Description:
- Removes a stacked event handler with specified custom id.
- Execution:
- call
- Groups:
- Event Handlers
Syntax
- Syntax:
- [id, event] call BIS_fnc_removeStackedEventHandler
- Parameters:
- key: String - custom id, a unique identifier, also returned by BIS_fnc_addStackedEventHandler
- event: String - event handler name, see BIS_fnc_addStackedEventHandler fr supported event handlers
- Return Value:
- Boolean - true on success, false on failure
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_addStackedEventHandler
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