SetObjectBaseline problem [SOLVED]

Started by simulacra, Tue 10/05/2005 10:35:18

Previous topic - Next topic

simulacra

I have used the following code to make the player appear in front of some map objects. However, the character still appears behind the objects. What's wrong here?

SetObjectBaseline(0,0);
SetObjectBaseline(1,0);
SetObjectBaseline(2,0);
SetObjectBaseline(3,0);

Gilbert

From the manual:
QuoteYou can disable the baseline (and revert to using the base of the object's image on the screen) by passing 0 as the baseline.

So, what you're doing was just making the baselines of the objects at the bottom lines of them, not room coordinate 0.
You may try setting them to 1 for the effect.

simulacra


SMF spam blocked by CleanTalk