Robustcolor 30 Posted October 27, 2019 Hi, is there any new efficient way of spawning ai inside buildings? Making them not move but able to fire. Share this post Link to post Share on other sites
SpaceHippo 26 Posted October 28, 2019 You're gonna want to use disableAI to change behavior and buildingPos to get the positions they should be placed. Also, when spawning units it is good to use createUnit and not createVehicle. Share this post Link to post Share on other sites
Gunter Severloh 3948 Posted October 28, 2019 (edited) I would recommend a garrison script, all you would need depending on the script is to preplace some enemy units or squads down and then they would be moved (garrisoned) in the surrounding buildings, depending on the script. See the descriptions for each script: From my AI compilation list (linked in my sig btw) Garrison Scripts Garrison script A3 [bETA] SP/MP by zorilyahttp://www.armaholic.com/page.php?id=22522 This script will allow you to make a more lively urban environment where you have to check every window and door in every house, the Ai will patrol and garrison nearby buildings. Grimes' Building Occupation Script SP/MP by Grimes [3rd ID]http://www.armaholic.com/page.php?id=25268 This script provides the mission maker an extremely simple way to occupy a set of buildings within a radius with a random or fixed amount of AI. Infantry Occupy House Script SP/MP by Zenophonhttp://www.armaholic.com/page.php?id=26343 This script teleports AI units into the nearest building at appropriate window positions. Random House Garrison Script [ALPHA] SP/MP by Desrathttp://www.armaholic.com/page.php?id=19353 This script counts all available positions in radius, and spawns the units for you. Shock's Building Garrison Function (SBGF) SP/MP by JShockhttp://www.armaholic.com/page.php?id=27535 Function allows a mission developer to garrison buildings in a town/city/village with a user defined percentage based on the overall building count. [TOG] Garrison Script SP/MP by bp.sushihttp://www.armaholic.com/page.php?id=26930 Building garrison script you can use to populate area by placing one group in editor. ========== Edited October 28, 2019 by Gunter Severloh Updated garrion list 1 Share this post Link to post Share on other sites
Robustcolor 30 Posted October 28, 2019 Alright, thanks for the help. 1 Share this post Link to post Share on other sites
RCA3 581 Posted October 28, 2019 @Gunter Severloh @Robustcolor You're missing Zenophon's - Infantry Occupy House Script, the best I have used and still do to this day. Cheers. 👍 1 1 Share this post Link to post Share on other sites
Gunter Severloh 3948 Posted October 28, 2019 7 hours ago, RCA3 said: You're missing Zenophon's - Infantry Occupy House Script, the best I have used and still do to this day. Cheers. 👍 Oh thanks, idk how i missed that, i dont have it on my Compilation list will add it, thanks again! Edit.. Actually i do have it, its just not under the garrison section, its under the Occupy section, think i will update it. Edit.. my previous post updated with 2 new garrison scripts. 2 Share this post Link to post Share on other sites