ACE3/addons/common/functions/fnc_globalEvent.sqf

22 lines
384 B
Plaintext
Raw Normal View History

/*
* Author: Nou
* Execute a global event on all clients, including self.
*
2015-09-20 14:40:49 +00:00
* Arguments:
* 0: Event name <STRING>
* 1: Event args <ANY>
*
2015-09-20 14:40:49 +00:00
* Return Value:
* None
*
* Public: Yes
*/
#include "script_component.hpp"
2015-09-20 14:40:49 +00:00
params ["_eventName", "_eventArgs"];
ACEg = [_eventName, _eventArgs];
publicVariable "ACEg";
2015-09-20 14:40:49 +00:00
["ACEg", ACEg] call FUNC(_handleNetEvent);