Okay, heres the layout.
----------------------------
=====================|
====X================|
----------------------|===|
=================------
====Y==========Z
Okay, the -'s and |'s are a building and X is on the roof. Y is the player and Z is the enemy. I need this:
when the player (Y) gets within 3 steps of Z, Z will say something to the affect of "STOP!" and start chasing the player. When Z touches the player you go into battle. After wining the battle X runs across the roof and jumps on the ground. and the same sequence happens with a new enemy and X runs around.
thanks! :D hope its not to confusing
----------------------------
=====================|
====X================|
----------------------|===|
=================------
====Y==========Z
Okay, the -'s and |'s are a building and X is on the roof. Y is the player and Z is the enemy. I need this:
when the player (Y) gets within 3 steps of Z, Z will say something to the affect of "STOP!" and start chasing the player. When Z touches the player you go into battle. After wining the battle X runs across the roof and jumps on the ground. and the same sequence happens with a new enemy and X runs around.
thanks! :D hope its not to confusing