hmm.. so if my condition is something like
while(1){
if (distance != ai1_distance){
update_position();
}
}
it cant work becase it will still continue increment or decrement the position.
other than the distance for the condition what else can i use? i tried to make the condition like when the ai passes certain points to activate it, but it doesn't update accurately.
Any guidance on this? thanks