Walk behind areas don't work properly..(Solved)

Started by marbar, Mon 14/12/2009 19:21:49

Previous topic - Next topic

marbar

Hey Boys and girls,

again me, another stupid question ;-).
I've got two doors in a room, and when the player interacts with them, he enters another room. But I've detected some weird things happening...
the doors are set in house walls, and as soon as my player enters the door, he should be walking behind these walls and then enter the second room. At first - with the appropriate walk behind areas and an according baseline - the game ran fine. But when I tested this stuff a second time (without any changes in the script) the walk behind areas suddenly seemed not to work any more, 'cause my charakter is drawn in front of the walls instead behind them. Now - I really don't know what  the problem could be...some more brillant ideas? ;)

Marina

monkey0506

Have you double checked the baseline set for the walkbehind? I know you said there's been no changes to the script but are you sure nothing is modifying the Character.Baseline or Character.z properties? That might affect what you're seeing as well.

And just to clarify, they're not working at all, or they're not working the same as before (i.e., maybe they're not working everywhere they're supposed to).

marbar

OK, I've got it, I've added a second walk behind area before running the script a second time, and didn't add the baseline for this area - that's why it didn't work I suppose. Now everything's fine. Thx for your help.

P.S. If you're interested in what I'm actually working on, I've described my game in the game announcement forum.... :) (XONXH)

Bye bye
Marina :)

SMF spam blocked by CleanTalk