ACE3/addons/interaction/XEH_clientInit.sqf

14 lines
287 B
Plaintext
Raw Normal View History

2015-01-11 19:32:51 +00:00
// by commy2 and CAA-Picard
2015-01-11 23:13:47 +00:00
#include "script_component.hpp"
2015-01-11 19:32:51 +00:00
if (!hasInterface) exitWith {};
2015-01-11 23:13:47 +00:00
GVAR(isOpeningDoor) = false;
2015-01-11 19:32:51 +00:00
// restore global fire teams for JIP
{
2015-01-11 23:13:47 +00:00
_team = _x getVariable [QGVAR(assignedFireTeam), ""];
2015-01-11 19:32:51 +00:00
if (_team != "") then {_x assignTeam _team};
} forEach allUnits;