Moving randomly moving objects into dense obj's turfs in Developer Help
|
|
Okay, my water obj is dense and when it bumps into dense turfs with a certain variable set to 1 I want the water to move into it's tile. Someone suggested to me to use Bump(), but after I looked it up real quick in the reference I saw it only works with Move(). However, the water moves with step_rand(). I saw get_step_rand(), but I don't know how to use it (when the step_rand fails) to find the dense object and check if it has the var set to 1 and if it does move the water into its tile. If someone knows an easier way to do this I'd appreciate your input, but I have all the vars set for the objs in all ready so I wouldn't want to change from that indentification system.
|
step_rand() calls Move(), so Bump() would work. You also could overwrite Enter() to allow these water objects in.
~~> Unknown Person