Ojects behind walkbehinds [SOLVED]

Started by mozza, Fri 06/01/2006 11:15:51

Previous topic - Next topic

mozza

I have a hotspot that is also a walkbehind and when you interact with the hotspot an object is supposed to become visible on top of the hotspot. I have just used a object.Visible = true code to make the object visible, but the object is behind the walkbehind. How can I make the object be drawn on top of the walkbehind?

monkey0506

You simply use the Object.IgnoreWalkbehinds Property.  Just set it to true.

Ashen

Or, change the object's baseline, to be below the Walkbehind's. I personally dont like using IgnoreWalkbehind if it can be helped as it ignores all walkbehinds - which isn't a problem if it's a stationary object, I admit, it's just a preference.
I know what you're thinking ... Don't think that.

mozza

I used object.IgnoreWalkbehind in the Before Player Enters Screen section of the script and it works fine. It was a stationary object and there is no problem now.
Thank you both. ;D

SMF spam blocked by CleanTalk