Epoch/Sources/epoch_code/compile/EPOCH_interact.sqf
2016-06-13 11:54:19 -05:00

28 lines
747 B
Plaintext

/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
store all interacted vehicles for update
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_interact.sqf
*/
private ["_vehSlot","_storSlot"];
0 call EPOCH_refeshUI;
if (!isNull _this) then {
_vehSlot = _this getVariable ["VEHICLE_SLOT", "ABORT"];
if (_vehSlot != "ABORT") then {
EPOCH_arr_interactedObjs pushBackUnique _this;
};
_storSlot = _this getVariable["STORAGE_SLOT", "ABORT"];
if (_storSlot != "ABORT") then {
EPOCH_arr_interactedObjs pushBackUnique _this;
};
};
true