2015-04-17 17:21:41 +00:00
|
|
|
/*
|
|
|
|
* Author: jaynus
|
2015-04-18 02:26:27 +00:00
|
|
|
* Send a request to synchronize an event name from the client->server. Execute on client only.
|
2015-04-17 17:21:41 +00:00
|
|
|
*
|
2015-09-19 17:40:56 +00:00
|
|
|
* Arguments:
|
|
|
|
* 0: eventName <STRING>
|
2015-04-17 17:21:41 +00:00
|
|
|
*
|
2015-09-19 17:40:56 +00:00
|
|
|
* Return Value:
|
2015-04-17 17:21:41 +00:00
|
|
|
* Boolean of success
|
2015-09-19 17:40:56 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
2015-04-17 17:21:41 +00:00
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
2015-09-19 17:40:56 +00:00
|
|
|
|
|
|
|
params ["_eventName"];
|
2015-04-17 17:21:41 +00:00
|
|
|
|
|
|
|
// Only JIP machines on initialization send this off, requesting sync on events with the serverCommand
|
2015-09-19 17:40:56 +00:00
|
|
|
if (isServer) exitWith {false};
|
2015-04-17 17:21:41 +00:00
|
|
|
|
2015-09-19 17:40:56 +00:00
|
|
|
["SEH_s", [_eventName, ACE_player] ] call FUNC(serverEvent);
|