BIS fnc callScriptedEventHandler: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
No edit summary
Line 50: Line 50:
[[Category:Functions|{{uc:callScriptedEventHandler}}]]
[[Category:Functions|{{uc:callScriptedEventHandler}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:callScriptedEventHandler}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:callScriptedEventHandler}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on May 15, 2016 - 19:29 (UTC)</dd>
<dt class="note">[[User:RageBone|RageBone]]</dt>
<dd class="note">
Example:<br>
<code>
[missionNamespace,"event",[]] call bis_fnc_callScriptedEventHandler;
</code><br>
Interestingly, the return value is always an empty array.<br>
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 20:29, 15 May 2016


Hover & click on the images for description

Description

Description:
/*

	Description:
	Call scripted event handlers

	Parameter(s):
		0: NAMESPACE, OBJECT, GROUP or LOCATION - namespace in which handler is saved
		1: STRING - handler name
		2: ARRAY - arguments passed to the code
		3 (Optional): BOOL - true to expect returned value from all codes

	Returns:
	ARRAY - list of returned values
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
BIS_fnc_addScriptedEventHandler

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

Posted on May 15, 2016 - 19:29 (UTC)
RageBone
Example:
[missionNamespace,"event",[]] call bis_fnc_callScriptedEventHandler;
Interestingly, the return value is always an empty array.