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?
You simply use the Object.IgnoreWalkbehinds (http://www.adventuregamestudio.co.uk/manual/Object.IgnoreWalkbehinds.htm) Property. Just set it to true.
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 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