Andthisisjustgoingtouse a builtinfunctionfromthatHltdirectorythat's goingtogameunderscoremappedoutnearbyunderscoreentitiesunderscoredbyunderscoredistance.
Andwedothatbytheship.
Next.
Whatwekindof I mean, wecareaboutthedistances, butgenerallywecareaboutthedistancesinorder.
Sorightnow, thisisnotinanyseriousorder.
So I'm actuallygoingtosayentitiesbydistancenowisequaltotheorderedordereddickedofthesordid, uh, entitylips.
Actually, I saw a copiedsoldierspasteentitiesbydistancedotitemswherethekeyisjustgonnabe a quicklambdafunction, sowe'lljustdoland a t colon t zero.
Sonowit's Wesavedithere, butwealsodon't needtobecalculatingthatlistforeverysingleshipthat's a littleinefficient, sothiswillrun a littlequickerdoingitthatway.
Umandthenlet's sayclosest.
Underscoreenemyunderscoreshipsequals.
Andagain, thisoneisgonnabeverysimilartothisone.
So I'm actuallygonnacopypaste.
Soit's gonnabeenemiesbydistance, withthekeyofwhateverthatdistancesinthezerothelement, whichwilljustbeokay, thatentityfordistanceinentitiesbydistance, ifisinstanceentitiesbydistance, distanceisratherthanbeing a planet, thistimewewanttomakesureit's a ship.
Soifyouwantedtoknowifanotheroneofyourstrategieswastoblowup a planet, youwouldn't actuallynavigatetotheclosestpointtothetargetplanetyouwouldactuallynavigatetothecenterofthatplanet.
There's somebodylikethingsthatyoucandoandhow I andyetbasicallyallyoureallydoisnavigate.
Um, Andyou I guessyou, doc, Butyou'reprettymuchalwaysjustgonnatryto, Doc, ifyoucoulddock.
Right.
SoSo I mean, I guessyouwouldn't necessarilyalwaysdothat, Butforthemostpart, thebiggestthinginthisgameisyoujustsimplynavigate, andyoudostuffautomatically, whichisprettycool.
Weactuallyshouldrunhimversus V two, whichisfaster.
Letmedothatrealquickbeforewesubmititandembarrassourselveswith a badrank.
So I'm gonnachangethattomyboughtvitetothistime.
Andlet's runthat.
Therewego.
Wegottoatleast a fewmoreturns.
Scentedbodycameinrankone.
Let's runonemore.
Um, okay, rankoneagain.
Sohe's doingverywell.
Let's let's see, though, thatsecondtolastonetook a littlelonger.
Let's justseeifwemadeanymistakes.
Sowebookisit's a liebecausewebothBloreshipsupyetanothermajormistakeeverybodyseemstobemaking, um, I haven't yetfiguredouthowmanyranksthatwillsaveyouifyoudon't makethatmistake, but I'm gonnawagerit's probably a decentnumber, I thinkprobablyjustatthebeginningofthegame.
And I thinkwhat I'lldois I'lljustkindofpausethisand I willrestartit.
Ah, oncewestartplayingsomegamesand I canconfirmthatwe'reactuallyplayingandthenwecankindofseehowtherankdoes, butittakes a prettygoodamountoftimeforyourranktodrop.
Um, soprobablyeveninitially, it a littlejump, dependingonhowwehowwedointhoseinitialgames.
Anyway, I'm depositfor a littlebitand I'llrestartoncewe'veplayedsomegames.
Allright.
I'veonlyreallyplayed a fewgames, butwe'vealreadydroppedourrink.
Uh, clips.
I'm notsurewhy I wenttosubmitabout.
Anyway, we'vedropped a rankprettysoon.
OK?
Reallywantsmetobeonthispage?
Therewego.
We'vedropped a rankprettysignificantly.
Asyoucansee, we'vegotquite a fewwinshere, so, uh, we'redoingprettygood.
Andthenhere's Ah, oneoftherecentgames.
Um, it's lookingprettygood.
We'redefinitelypopulatingmuch, muchfaster.
YellowPlayerreallycoulddohimself a favorbygoingfaster.
Really?
Alltheseguyscouldhavedonethemselvesfavor.
I actually, anybodywantscommentbelow.
I I havenotseenreallyanyplayernegativelyimpactedbyzoomingaroundfast.
Um, someoftheotherthingsyoucouldtakeadvantageoftoislikeifififyou'rein, like a one v one V one V onesituation, youcouldpurposelynotattacktheplayerthat's clearlygonnalosethegameorthathasnochanceofbeatingyoulikealltheplantsareoccupied.