BIS fnc removeStackedEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Event Handlers |GROUP1=
|gr1 = Event Handlers |GROUP1=
____________________________________________________________________________________________


| Removes a stacked event handler with specified custom id. |DESCRIPTION=
| Removes a stacked event handler with specified custom id. |DESCRIPTION=
____________________________________________________________________________________________


| [id, event] call [[BIS_fnc_removeStackedEventHandler]]; |SYNTAX=
| [id, event] call [[BIS_fnc_removeStackedEventHandler]]; |SYNTAX=
Line 19: Line 16:


| [[Boolean]] - [[true]] on success, [[false]] on failure |RETURNVALUE=
| [[Boolean]] - [[true]] on success, [[false]] on failure |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>["someId", "onEachFrame"] [[call]] [[BIS_fnc_removeStackedEventHandler]];</code> |=  
|x1= <code>["someId", "onEachFrame"] [[call]] [[BIS_fnc_removeStackedEventHandler]];</code> |=  
____________________________________________________________________________________________


| [[BIS_fnc_addStackedEventHandler]] |SEEALSO=
| [[BIS_fnc_addStackedEventHandler]] |SEEALSO=

Revision as of 00:46, 17 January 2021

Hover & click on the images for description

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:
["someId", "onEachFrame"] call BIS_fnc_removeStackedEventHandler;

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

Notes

Bottom Section