Jump, as in 'Teleport' could simply be handled with a ...

Code:
vec_set(you.x, my.x)


for more complex Ai type behaviours....erm do some more reading smile

There are a good chunk of threads on these forums that have pretty much copy and paste functionality to get up and running. Maybe widen your search?

Hope that was some help


The Art of Conversation is dead : Discuss