Author Topic: Check direction a character is facing.  (Read 190 times)  Share 

KodiakBehr

  • Is FINALLY casting Conspirocracy
Check direction a character is facing.
« on: 18 Aug 2012, 15:46 »
This should be straightforward, but I'm afraid I'm at a loss.

Is there a way to check which direction a stationary (or moving) character is facing?

Khris

  • Evil Dark Emperor Death-Kill
    • Lifetime Achievement Award Winner
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: Check direction a character is facing.
« Reply #1 on: 18 Aug 2012, 17:29 »
Just check the .Loop:

Code: Adventure Game Studio
  1.   if (player.Loop == 2) Display("The player is facing right.");
http://whathaveyoutried.com/

The other day on yahoo answers:
"Can you print colored images with black ink? If so tell me how please Thanx Kimberly"

KodiakBehr

  • Is FINALLY casting Conspirocracy
Re: Check direction a character is facing.
« Reply #2 on: 18 Aug 2012, 20:44 »
Shoot, thanks again!