Returns the area for the object or mob, or null if the object is at the null location.
This returns a text name for direction.
For example, if direction is NORTH, this returns "NORTH".
Returns the distance between two objects.
Objects can be anything with x and y variables.
Returns the turf in the specified direction (NORTH, SOUTHWEST, etc) from the object.
Accepts any object with x, y, z variables defining its location.
dd_get_step_rand(object, considerDensity, randomness)
Returns a random valid turf one step away from the object (anything with x and y variables), or null if it can't find any valid turfs.
randomness determines the percentage chance that the step will be random instead of continuing in the direction the object was already moving.
This returns whatever direction is opposite of direction. For example, if direction is NORTH, dd_reverse_direction() returns SOUTH.
Moves the object one step, returning 1 on success or null on failure.
randomness is the percentage chance that the object will move in a random direction instead of continuing in the direction it was already facing.
Jan 2 2002, 12:00 am