Monsada 10 Posted March 28, 2010 When I try to move to eart AI do not aproach to the beach, they get on water all time. Another question how to know beach is aproach? Share this post Link to post Share on other sites
HuNtA 0 Posted March 28, 2010 It all depends on whether the boat is part of the group or not If it is, a Get Out waypoint on the beach should suffice If not, giving the boat a Transport Unload waypoint and then the men a Move waypoint next to it(which is synchronised to the transport waypoint) should do the job Share this post Link to post Share on other sites
snkman 351 Posted March 28, 2010 (edited) Well this is a bit tricky. I have tryed many different way's to get this to work. 1. Surface Check if the vehicle ( boat ) is at land position: if !(surfaceIsWater (getPos _boat) ) then The down side is that A.I. not always drive that far that the surface of the boad return land. So this may will fail sometimes. 2. Speed Check the speed of the boat: Check if the boat is moving: waitUntil { (speed _boat > 15) }; if (speed _boat > 15) then { waitUntil { (speed _boat < 5) }; {unAssignVehicle _x} forEach (crew _boat); }; This sometimes is a bit tricky too. ;) So far i could not find a 100% solution to make A.I. dismount a boat after reaching the beach. If you or someone else know's a better solution please let me know. Edited March 28, 2010 by SNKMAN Share this post Link to post Share on other sites
Monsada 10 Posted March 28, 2010 Thanks snkman, I will try this trick Share this post Link to post Share on other sites