I want to make bots run away from a specific player, Ive tried a few things but it just ends up in awkward zigzag running patterns among other things, so I need a bit of help. Any ideas?
Thanks for any help in advance.
NVM, found a way(incase someone has this problem or if I'm "doing it wrong!!!1!"):
%curx=getword(%bot.getposition(),0);
%cury=getword(%bot.getposition(),1);
%newx=0;
%newy=0;
%alx=getword(%bot.run.getposition(),0);
%aly=getword(%bot.run.getposition(),1);
%newx+=(%curx-%alx)*3;
%newy+=(%cury-%aly)*3;
%loc = vectorAdd(%bot.getTransform(),%newx SPC %newy SPC 0);
Then move to %loc.