Character view??

Started by Sebas, Tue 17/06/2003 00:28:50

Previous topic - Next topic

Sebas

when i came in the first room the characters appears turned back!!!! i tried to make him appear in the normal position but i cant'T here you are the game, please compile it and help me :((((
http://yammah.webcindario.com/Game.zip

Proskrito

FaceLocation
From the manual:
QuoteFaceLocation (CHARID, int x, int y)

Similar to the FaceCharacter function, except that this faces the character to screen location (X,Y). This allows him to face not only other characters, but also objects and hotspots as well (you can get co-ordinates by watching the co-ordinates displayed in the Room Settings mode as you move the mouse over the room background).
Example:

FaceLocation(EGO,150,146);

will make the character face at the room location (150,146)

Put it in the "First time player enters this room" interaction, (write an high "y" parameter to make him look downwards) like FaceLocation(EGO,160,1000);
I think that will do it
if you come up with a problem, first read the help file, almost everything is there. And read the "READ FIRST: forum rules" post...

SMF spam blocked by CleanTalk