hywel 10 Posted May 7, 2014 Is there a way to call the 'follow unit' UAV command via script? Thanks. Share this post Link to post Share on other sites
giovafr 10 Posted May 8, 2014 did you try "driver theuav doFollow thetarget" ? i've read that uav are controled by hiden AI Share this post Link to post Share on other sites
hywel 10 Posted May 8, 2014 Unfortunately doFollow only works when both units are in the same group, thanks though. and yes the UAVs are controlled by an invisible man who vaporises upon contact with air Share this post Link to post Share on other sites
Chris_Acrobat 1 Posted May 5, 2015 I have asked a similar question, without any luck yet. //(group SDV) setBehaviour "CARELESS"; _waypoint = (group effectiveCommander SDV) addWaypoint [boat, 0]; _waypoint setWaypointType "FOLLOW"; When I try to make a SDV to follow a boat in a script, nothing happens. I do know that "FOLLOW" is NOT in setWaypointType, but it is an option if you create a waypoint in the GUI-editor. Any ideas? Hope that the answer isn't to far away. Share this post Link to post Share on other sites
epicgoldenwarrior 11 Posted May 5, 2015 As I said in chris's post, you could either 1) use waypoint in editor or 2) try "uav doFollow yourunit;" but note they have to be in the same group for this to work. that's all I know, so...yeah. Share this post Link to post Share on other sites
bangabob 45 Posted May 6, 2015 _grp = group theuav; _unit = player; while {true} do { if (!alive (leader _grp)) exitWith {}; _wp = _grp addWaypoint [position _unit, 0]; _wp setWaypointType "MOVE"; sleep 1; }; Share this post Link to post Share on other sites
Chris_Acrobat 1 Posted May 6, 2015 As I said in chris's post, you could either1) use waypoint in editor or 2) try "uav doFollow yourunit;" but note they have to be in the same group for this to work. that's all I know, so...yeah. And as I told you: That would be obvious, if it wouldn't be for that I am asking how to do this in a script. and objects aren't in the same group (as they shall not be). Share this post Link to post Share on other sites
epicgoldenwarrior 11 Posted May 7, 2015 yes Chris but this isn't your post, it's his - he might want to use another method than you; if he doesnt want anything then it is fine. Share this post Link to post Share on other sites