Epoch/Sources/epoch_code/compile/EPOCH_interact.sqf
2015-09-14 15:55:36 -05:00

19 lines
508 B
Plaintext

// store all interacted vehicles for update
private ["_vehSlot"];
0 call EPOCH_refeshUI;
if (!isNull _this) then {
_vehSlot = _this getVariable ["VEHICLE_SLOT", "ABORT"];
if (_vehSlot != "ABORT") then {
if !(_this in EPOCH_arr_interactedObjs) then {
EPOCH_arr_interactedObjs pushBack _this;
};
};
_storSlot = _this getVariable["STORAGE_SLOT", "ABORT"];
if (_storSlot != "ABORT") then {
if !(_this in EPOCH_arr_interactedObjs) then {
EPOCH_arr_interactedObjs pushBack _this;
};
};
};
true