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:
|
2016-06-13 16:54:19 +00:00
|
|
|
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_interact.sqf
|
2015-12-07 16:24:52 +00:00
|
|
|
*/
|
2016-09-01 00:29:08 +00:00
|
|
|
//[[[cog import generate_private_arrays ]]]
|
2019-04-06 20:16:01 +00:00
|
|
|
private ["_storSlot","_vehSlot","_buildSlot"];
|
2016-09-01 00:29:08 +00:00
|
|
|
//[[[end]]]
|
2015-09-14 20:55:36 +00:00
|
|
|
0 call EPOCH_refeshUI;
|
|
|
|
if (!isNull _this) then {
|
|
|
|
_vehSlot = _this getVariable ["VEHICLE_SLOT", "ABORT"];
|
2019-04-06 20:16:01 +00:00
|
|
|
if !(_vehSlot isEqualTo "ABORT") then {
|
2016-04-08 20:21:46 +00:00
|
|
|
EPOCH_arr_interactedObjs pushBackUnique _this;
|
2015-09-14 20:55:36 +00:00
|
|
|
};
|
|
|
|
_storSlot = _this getVariable["STORAGE_SLOT", "ABORT"];
|
2019-04-06 20:16:01 +00:00
|
|
|
if !(_storSlot isEqualTo "ABORT") then {
|
|
|
|
EPOCH_arr_interactedObjs pushBackUnique _this;
|
|
|
|
};
|
|
|
|
_buildSlot = _this getVariable["BUILD_SLOT", "ABORT"];
|
|
|
|
if !(_buildSlot isEqualTo "ABORT") then {
|
2016-04-08 20:21:46 +00:00
|
|
|
EPOCH_arr_interactedObjs pushBackUnique _this;
|
2015-09-14 20:55:36 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
true
|