Overriding Character Baselines

Started by Jared, Mon 02/11/2009 10:28:43

Previous topic - Next topic

Jared

The game I'm working on meant I needed to override the main characters baseline for a cutscene - for some reason I figured that this effect would be temporary and was bewildered by a number of walkbehind problems that followed, which now make perfect sense.

Is there anyway that I haven't been able to find in the help files to revert the character's baseline to its default behaviour, other than putting cEgo.Baseline = cEgo.y in the room_repeated execute method? (My current workaround)

ThreeOhFour

Have you tried setting it to 0 when you want it to revert? This is how the manual suggests doing it:

"The baseline can be from 1 to the height of the room (normally 200), or set it to 0 to go back to using the character's feet as the baseline."

Hope this helps :)

SMF spam blocked by CleanTalk