ACE3/addons/huntir/XEH_postInit.sqf

15 lines
415 B
Plaintext
Raw Normal View History

2015-06-06 12:13:34 +00:00
#include "script_component.hpp"
GVAR(ZOOM) = 0;
GVAR(NV) = 0;
GVAR(IRON) = false;
GVAR(TI) = 0;
GVAR(cur_cam) = 0;
GVAR(ROTATE) = 0;
GVAR(ELEVAT) = 0.01;
2016-02-06 20:29:05 +00:00
// Register fire event handler
// Don't run for non players, as they are too dumb to launch huntirs anyway
["firedPlayer", DFUNC(handleFired)] call EFUNC(common,addEventHandler);
["firedPlayerNonLocal", DFUNC(handleFired)] call EFUNC(common,addEventHandler);