M210, on 27 July 2011 - 04:44 PM, said:
Actually, I have no confidence that you would know how to add code that I wrote to your own code. One reason: You didn't do what I requested. What you posted is clearly not all of the code, since it doesn't even include the actor declaration. What you posted there wouldn't even compile. It starts with an ai definition, then what immediately follows is code that belongs in an actor or a state, but there is no actor or state declared until further down...