2015-12-07 16:24:52 +00:00
|
|
|
/*
|
|
|
|
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/master/Sources/epoch_code/compile/EPOCH_interact.sqf
|
|
|
|
*/
|
2015-09-14 20:55:36 +00:00
|
|
|
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
|