Forum

> > CS2D > Scripts > ai_freeline doesnt work for me
Forums overviewCS2D overview Scripts overviewLog in to reply

English ai_freeline doesnt work for me

No replies
To the start Previous 1 Next To the start

old ai_freeline doesnt work for me

EnderCrypt
User Off Offline

Quote
hi

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
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview