ACE3/addons/common/functions/fnc_callCustomEventHandlersGlobal.sqf

17 lines
494 B
Plaintext
Raw Normal View History

/*
* Author: commy2
*
* Execute all custom event script assigned to this object on every machine.
*
* Argument:
* 0: Object the eventhandlers are assigned to or namespace (Object or Namespace)
* 1: Name of the event (String)
* 2: Arguments passed to the eventhandler script (Array, optional default: [Object the event handlers are assigned to])
*
* Return value:
* None.
*/
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
2015-01-11 18:20:14 +00:00
[_this, QUOTE(FUNC(callCustomEventHandlers)), 2] call FUNC(execRemoteFnc);