Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Condition:
- private _spawners = allMissionObjects "ModuleSpawnAI_F";
- private _totalSpawnerCount = count _spawners;
- private _initializedSpawners = [];
- {
- if (typeName (_x getVariable "BlacklistedGroups") == "ARRAY") then {
- _initializedSpawners append [_x];
- };
- } forEach _spawners;
- _totalSpawnerCount > 0 && {_totalSpawnerCount == count _initializedSpawners};
- // On Activation:
- {
- [_x] call Rimsiakas_fnc_AISpawnerGroupsInitAdapter;
- } forEach ((entities "LOGIC") select {typeOf _x == "ModuleSpawnAI_F"});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement