BIS_fnc_addStackedEventHandler

From Bohemia Interactive Community
Revision as of 17:13, 9 February 2014 by Killzone Kid (talk | contribs) (Undo revision 76083 by BlenderRUS (talk) Example 1 is valid and code works)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Stack an event. handler. Possibilities are onEachFrame, onPlayerConnected, onPlayerDisconnected, onMapSingleClick, onPreloadStarted, onPreloadFinished
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
param call BIS_fnc_addStackedEventHandler;
Parameters:
Key: String
Event: String
Code: String or Code
Return Value:
String

Examples

Example 1:
["someId", "onEachFrame", { hintSilent str time; }] call BIS_fnc_addStackedEventHandler;

Additional Information

See also:
BIS fnc removeStackedEventHandler

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

Posted on November 1, 2013
neokika
More info at: http://forums.bistudio.com/showthread.php?167822-Stacked-event-handlers-OnEachFrame-OnPlayerConnected-etc

Bottom Section