Epoch/Tools/SQF/getBuildingsNotSetupYet.sqf
vbawol e97c17ce12 0.3.9.0509
[Added] Starting to add support for Tanoa. (more loot positions and
world interaction configs still needed)
[Changed] move vehicle EH init before setdamage.
[Changed] add extra debug to load vehicles.
[Changed] Tool: buildings without loot pos script now uses mission
config and terrain objects command.
[Fixed] take into account trader stored per class vehicle limits when
spawning new vehicles.
2016-06-12 08:29:10 -05:00

18 lines
377 B
Plaintext

EP_notSetup = [];
EP_setup = [];
_all = nearestTerrainObjects [player, [], 40000, false];
{
_typeOf = typeof _x;
if !(isClass(getMissionConfig "CfgBuildingLootPos" >> _typeOf)) then {
if !(_typeOf in EP_notSetup) then {
EP_notSetup pushBack _typeOf;
};
} else {
if !(_typeOf in EP_notSetup) then {
EP_setup pushBack _typeOf;
};
}
} foreach _all;