Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mouth for war on Wed 24/01/2007 19:20:08

Title: facing directions
Post by: Mouth for war on Wed 24/01/2007 19:20:08
Ok this is probably some very easy shit to do...but i can't find it hehe.
I have a small problem...on one sreen you enter from the right and on that screen there's a house you can enter....when i exit that house i want the character to have his back turned away from the house...but still he's facing the house...it's not a huge thing i know but it annoys me a little...how do i fix it?
Title: Re: facing directions
Post by: Joe on Wed 24/01/2007 19:51:41
Thats quite easy, you can't find it??? c'mon read the manual!

Anyway
//At Player Enters room (Before Fadein)
player.FaceLocation(player.x,player.y+10,eBlock);
Title: Re: facing directions
Post by: Ashen on Wed 24/01/2007 22:12:37
I admit it got a little lost in the rest of the thread, but this question was just asked (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29667.0).