ID:180404
 
Well, i need some kind of code that would have an NPC run away from the thing that is attacking it, for example, your a cop and a kid is running from you and u have to catch him, how would i go about doing that?

edit: or just making it random run really fast
On 7/5/01 10:44 am Sariat wrote:
Well, i need some kind of code that would have an NPC run away from the thing that is attacking it, for example, your a cop and a kid is running from you and u have to catch him, how would i go about doing that?

edit: or just making it random run really fast

Same way most attacking NPCs do, only instead of step_to they use step_away, or whatever the other command is. Look it up in the reference.