I want to have a turf go through an animation and then trigger another turf that does the same until it reaches the end of the chain where a new mob will be placed, how do I accomplish this without having to hardcode it?
I think I could do it by having the program search for a turf with a say a nr var set to a number 1 higher than its own, the problem with that is: I'll have to hardcode a damn lot of turfs with different numbers...
Is it possible to have it search just the squares next to it, or even better just the squares to the left&right/over&below?
ID:151175
Feb 24 2001, 3:04 am (Edited on Feb 24 2001, 3:10 am)
|
|
Sure. Here's a line that will help you figure it out:
nextTurf = get_step(originalTurf, EAST)