Need help with face location

Started by Tha2ohSIX, Thu 09/10/2003 14:18:53

Previous topic - Next topic

Tha2ohSIX

I can't seem to get face location to work.  The character never faces the coordinates that I type in.  Can anyone please help?

SSH

First, Double-check that your left, right, up and down views have the correct sprites assigned.
Second, what are the x, y co-ords of the player and the location you are trying to face?
Third, do you have diagonal views?
Fourth, does the walking of your character look correct in the direction you want to change to?

12

Ishmael

And also, put Wait(1); after your FaceLocation command ;D
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Tha2ohSIX

Hey, sorry it took me a while to reply, I got kinda tied up with another element in my game.  I got the face location to work when I put it in "player enters screen (before fadein)".  But now my question is how do you face your character different ways depending on which room you came from?  For instance, if the main char comes from a screen below where he is he will be facing north, but if he comes to the same screen from a screen to the left he will be facing right.  Its been bugging me all night.  Any help will be greatly appreciated.

Ishmael

if (character[EGO]. prevroom == .... and so on
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Tha2ohSIX

Jesus!! That's the fastest response I've ever had!  Thank you!

SMF spam blocked by CleanTalk