Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Jared on Mon 02/11/2009 10:28:43

Title: Overriding Character Baselines
Post by: Jared on Mon 02/11/2009 10:28:43
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)
Title: Re: Overriding Character Baselines
Post by: ThreeOhFour on Mon 02/11/2009 11:27:13
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 :)