mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
e97c17ce12
[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.
18 lines
377 B
Plaintext
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; |