BIS fnc removeStackedEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(description updated, broken note removed)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [key, event] call [[BIS_fnc_removeStackedEventHandler]]; |= Syntax
| [id, event] call [[BIS_fnc_removeStackedEventHandler]]; |= Syntax


|p1= key: [[String]] - unique identifier |= Parameter 1
|p1= key: [[String]] - custom id, a unique identifier, also returned by [[BIS_fnc_addStackedEventHandler]] |= Parameter 1


|p2= event: [[String]] - event handler type, see [[BIS_fnc_addStackedEventHandler]] |= Parameter 2
|p2= event: [[String]] - event handler name, see [[BIS_fnc_addStackedEventHandler]] fr supported event handlers |= Parameter 2


| [[Array]] |= Return value
| [[Boolean]] - [[true]] on success, [[false]] on failure |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 28: Line 28:
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on November 1, 2013
<dt class="note">[[User:neokika|neokika]]<dd class="note">
More info at: http://forums.bistudio.com/showthread.php?167822-Stacked-event-handlers-OnEachFrame-OnPlayerConnected-etc
<!-- Note Section END -->
</dl>
</dl>



Revision as of 13:07, 15 July 2017

Hover & click on the images for description

Description

Description:
Removes a stacked event handler with specified custom id.
Execution:
call
Groups:
Uncategorised

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