DKG_OccupyBuildings

by guennyyy
DKG_OccupyBuildings

Summary

* Place AI squads into buildings & rooftops via Game Master

* Compatible with any game mode

* Works reliably on basegame and modded structures

* 100% multiplayer & dedicated server compatible

Description

* Adds Game Master context actions to instantly occupy any building or rooftop in the 3D view

* Works seamlessly in any game mode or scenario where Game Master is accessible

* Eliminates erratic AI pathfinding and door jamming by placing squad members directly into defensive post and window cover

* Employs an intelligent vertical raycast scanner that detects floor slabs, ceilings, room interiors, and rooftop perimeters from top to bottom

* Places units across tactical window vantage points and room interiors from upper storeys down to ground level



**Occupy Building:** 

- One-click action to spawn a squad distributed across the building floors, windows, and rooms

**Occupy Roof:** 

- Dedicated action to garrison units exclusively on building rooftops, balconies, and elevated terraces.

**Occupy Building: Select Squad...:** 
 
- Opens the Game Master group catalog to deploy any faction or modded group into the building

**Occupy Roof: Select Squad...:**

- Opens the Game Master group catalog to deploy any faction or modded group exclusively onto the roof

**Garrison Selected Squad:** 

- Select an already existing AI squad and move them immediately into defensive positions within the targeted building.



*** Customizing the 1-Click Default Squad ***


- Default 1-Click Squad: USSR Rifle Squad (OPFOR) - {7159E20D1B547A4E}Prefabs/Groups/OPFOR/AmbientPatrols/Group_USSR_RifleSquad_NotSpawned.et

* If you want to permanently change the default 1-click squad for your server or custom mission:
  
- Change PREFAB_SQUAD_DEFAULT at the top of Scripts/Game/AI/DKG_BuildingGarrisonManager.c to your preferred group prefab.


**** Special thanks to the awesome Game Master Enhanced team for their original idea and inspiration. ****

License

Arma Public License (APL)

Rating
100%
Version
1.0.2
Game Version
1.8.0.13
Version size
16.29 KB
Downloads
5
Created
26.09.2026
Last Modified
26.09.2026
ID
9FAB1242978D055F