You are not logged in.
Pages: 1
...that instructs an AI to run to a specific flag? If so, I somehow can't find it on the functions page.
If we don't change the direction we're going, we'll likely end up where we're headed.
Offline
ai2_runtoflag ?
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Really? Thanks, man. At first I felt stupid, but then I checked and that command is actually not listed on the functions page so I felt better.
If we don't change the direction we're going, we'll likely end up where we're headed.
Offline
Sigh... Didn't work. I've got this script:
ai2_runtoflag Thug01 0980
0980 is a custom flag but it exists because I can teleport to it. But when it gets to that line in the script, it says...
Func "ai2_spawn", File "compound_survival.bsl", Line 16: Illegal token, got "Thug01" expected ";"
If we don't change the direction we're going, we'll likely end up where we're headed.
Offline
Uhh, is ai2_runtoflag a command? I'm not aware of any missing functions in the wiki's list. I used ai2_movetoflag in one script, to get characters to walk to a given flag.
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
...Hm. Well I used ai2_movetoflag and it just teleported them there...
I'll try it again.
If we don't change the direction we're going, we'll likely end up where we're headed.
Offline
Well that's...odd. Could it be that there is no pathfinding grid linking between the character and the flag?
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
what spawn number is Thug01?? You character is always 0, try
ai2_runtoflag <spawn number> <flag number>
to findout the spawn number, all you gotta do is count the order in which all your men were spawned in the script,
Konoko= 0
say, Striker = 1
Thug01 = 2
so it would be
ai2_runtoflag 2 0980
"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."
Offline
Pages: 1