
Posted:
Sun Dec 03, 2006 6:01 am
by Fuzzy
take a copy of the x and y for the actor at each draw event. call them oldx and oldy. compare them to the current x and y
draw event
1. compare x and y to oldx and oldy
2. set actor facing based on comparison
3. set oldx = x and set oldy = y
umm

Posted:
Sun Dec 24, 2006 5:25 am
by kyensoftware
ummmmm.........
Can't quite get it to work can you give me the the code for it thanx


Posted:
Sun Dec 24, 2006 7:17 pm
by Sgt. Sparky

hmmm,

since he has not replied it might be like:
- Code: Select all
if (oldx > x)ChangePath("EventActor" , "Left");
and vice versa.
but i'm not quite sure

Prob PM makslane bout' that.
I'm not a script expert.
