BIS fnc addStackedEventHandler: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
<dt class="note">[[User:neokika|neokika]]<dd class="note"> | <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 | More info at: http://forums.bistudio.com/showthread.php?167822-Stacked-event-handlers-OnEachFrame-OnPlayerConnected-etc | ||
<dd class="notedate">Posted on February 9, 2014 | |||
<dt class="note">[[User:BlenderRUS|BlenderRUS]]<dd class="note"> | |||
You cant use code block like in Example1 field, ONLY string is supported. | |||
So correct example is: | |||
<code>["someId", "onEachFrame", "hintSilent str time"] [[call]] [[BIS_fnc_addStackedEventHandler]];</code> | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 03:34, 9 February 2014
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
- Posted on February 9, 2014
- BlenderRUS
-
You cant use code block like in Example1 field, ONLY string is supported.
So correct example is:
["someId", "onEachFrame", "hintSilent str time"] call BIS_fnc_addStackedEventHandler;