AI kill thread problem
Posted: Thu Feb 26, 2004 5:30 am
ok with this thread....
thread allies_kill_target $VIP
I call...
The AI is set up in game with the $targetname VIP...
When I play alone as ally and kill him, the game doesnt end.
Shouldnt it end since //level waittill roundstart is commented out?
Is my code wrong? any suggestions?
thread allies_kill_target $VIP
I call...
Code: Select all
allies_kill_target:
if !(isalive $VIP)
teamwin allies
else
waitframe
end
When I play alone as ally and kill him, the game doesnt end.
Shouldnt it end since //level waittill roundstart is commented out?
Is my code wrong? any suggestions?