XMDM 1 Posted January 19, 2014 Is it possible to calculate a rough ETA for AI driving time from point A to point B. Idea is to call for ground support via mapclick and then a convoy starts moving to that location...would be nice if a rough ETA could be given... Ideas? EDIT: Meant to post this in editing and scripting...that's what I get for using Tapatalk at 2am Sent from my HTC6435LVW using Tapatalk Share this post Link to post Share on other sites
kremator 1065 Posted January 19, 2014 With our current AI? There is no point in putting an ETA as they will get stuck on the simplest of structures or be unable to turn corners! Share this post Link to post Share on other sites
das attorney 858 Posted January 19, 2014 (edited) lol yeah they aren't great - Maybe it might be better for the AI just to tell you how far away they are at the moment _dist = player distance YOUR_AI_UNIT; while {_dist > 500 and {alive YOUR_AI_UNIT}} do { player groupChat format ["We are approx %1 meters from your position", _dist]; sleep 60; _dist = player distance YOUR_AI_UNIT; }; Edited January 19, 2014 by Das Attorney Dodgy first script Share this post Link to post Share on other sites
super-truite 54 Posted January 19, 2014 Is there a way to compute the distance on the actual path the AI will choose? In principle I could get an estimation of that by suming up the distance between each waypoints the AI will follow, but I am just curious as to if there is some secret command which can help to do it better? Something that would understand "where the roads are"? For instance, it could come in handy to spawn random events ahead of a convoy, when you don't know the actual path the convoy will choose. Sorry for the little thread hijacking ;). Share this post Link to post Share on other sites
XMDM 1 Posted January 19, 2014 I figured we'd be limited by the AI...thanks for the tip, I'll use that. Share this post Link to post Share on other sites