TrenchClub 10 Posted November 4, 2013 I've got a group of AI in a vehicle, when upon dismounting I want to have them move either into a specific house to assigned positions or to the nearest random house to random positions but I have no idea how to do either of these with scripts (which it has to be). Share this post Link to post Share on other sites
lappihuan 178 Posted November 4, 2013 take a look at buildingPos best regards Lappihuan Share this post Link to post Share on other sites
TrenchClub 10 Posted November 4, 2013 I'm new to scripting, plase explain if you can how to use buildingpos and nearestbuilding to achieve what I'm trying to do. The ideal solution would be having all the units in the group move to the nearest house. Share this post Link to post Share on other sites
jandrews 116 Posted November 4, 2013 will this work if the building is spawned in via delete vehicle script? Share this post Link to post Share on other sites
TrenchClub 10 Posted November 4, 2013 Still waiting for someone able to break this down Share this post Link to post Share on other sites
jw custom 56 Posted November 4, 2013 For a starter you could use this script -> http://www.armaholic.com/page.php?id=6078 It's for ArmA 2 but should work with ArmA 3. It will make units "patrol" buildings. Share this post Link to post Share on other sites
Blitzer134 1 Posted November 4, 2013 or try this http://forums.bistudio.com/showthread.php?165089-AI-Spawn-Script-Pack Share this post Link to post Share on other sites