Skip to content

Commit

Permalink
Isla Duala hide "bad" object update (#3424)
Browse files Browse the repository at this point in the history
* adjusted objective locations

* Added bad object filter

* renabled isladuala3

* Update mission.sqm

* moved hide script out of SQM

* Update mission.sqm

* Update mission.sqm
  • Loading branch information
ante185 authored Nov 27, 2024
1 parent df856c7 commit a990275
Show file tree
Hide file tree
Showing 3 changed files with 3,649 additions and 2,528 deletions.
16 changes: 16 additions & 0 deletions A3A/addons/maps/Antistasi_isladuala3.isladuala3/initServer.sqf
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
call A3A_fnc_initServer;

private _allTerrainObjects =
(nearestTerrainObjects [[worldSize / 2, worldSize / 2], ["HIDE", "HOUSE", "FENCE"], worldSize * sqrt 2 / 2, false, true]);
private _badModelHM = [
"fort_bagfence_long.p3d",
"fort_bagfence_round.p3d",
"barel6.p3d",
"bagfencelong.p3d",
"bagfenceround.p3d",
"misc_palletsfoiled_heap.p3d",
"toilet.p3d",
"misc_cargo_cont_small2.p3d",
"seacrate.p3d"
] createHashMapFromArray [];
_allTerrainObjects = _allTerrainObjects select {(getModelInfo _x #0) in _badModelHM;};
{ _x hideObjectGlobal true } forEach _allTerrainObjects;
Loading

0 comments on commit a990275

Please sign in to comment.