cr4wl3r0 10 Posted September 23, 2013 (edited) Hello everyone ! I am an absolute beginner in scripting and I have a kind request for something absolutely out of my capability: I have a group of blue soldiers and I want an unarmed (or armed) ugv to go ahead a given amount of meters, in the direction of travel of the player (and/or group leader and/or other member of the group) to patrol the area in front of the group, adjusting continuously its route accordingly to the group chosen route (not pre-planned via waypoints but chosen in real-time). Thank you so much to everyone who will help me. Edited September 23, 2013 by cr4wl3r0 typing mistake Share this post Link to post Share on other sites
kylania 568 Posted September 23, 2013 Group Leader's init field: ugv attachTo[this, [0,20,2]]; Or perhaps look into SHK_Intercept and use that to set a waypoint for the UGV? Share this post Link to post Share on other sites
cr4wl3r0 10 Posted September 24, 2013 thank you Kylania, but you can do better... Share this post Link to post Share on other sites
kylania 568 Posted September 24, 2013 To do it "properly" is a lot more involved and not really something I felt like trying to figure out, maybe someone else will feel inspired. Maybe make the UGV the group leader? What you want is not easy at all though. Or use the SHK_Intercept thing I asked and constantly change the waypoints. Just give one of your players a UAV Terminal and have them do the patrolling. :) Share this post Link to post Share on other sites