i tryed ai_freeline(id,x,y) several times but it never works...
1
if (ai_freeline(id,player(bot_target,"x"),player(bot_target,"y")) == false) then
should that work?
gives error like:
LUA ERROR (ai_update_living): bots/Standard AI.lua:77: bad argument #2 to 'ai_freeline'
wait... fixed
1
2
2
if not ai_freeline(id,player(1,"x"),player(1,"y")) then parse ("setpos 2 "..player(1,"x").." "..player(1,"y").."")
thx for help anyway