Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
 
Entire Forum
This board
This topic
Members
Entire Site
Home
FAQ
Help
Bug and Suggestion Tracker
Search
AGS Wiki
AGS Games
Login
Register
Adventure Game Studio | Forums
|
AGS Support
|
Beginners' Technical Questions
(Moderator:
Iceboty V7000a
) |
Topic:
Check direction a character is facing.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Check direction a character is facing. (Read 190 times)
Tweet
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?
Logged
Khris
Evil Dark Emperor Death-Kill
Re: Check direction a character is facing.
«
Reply #1 on:
18 Aug 2012, 17:29 »
Just check the .Loop:
Code: Adventure Game Studio
if
(player.Loop ==
2
) Display(
"The player is facing right."
);
Logged
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!
Logged
Print
Pages: [
1
]
« previous
next »
Adventure Game Studio | Forums
|
AGS Support
|
Beginners' Technical Questions
(Moderator:
Iceboty V7000a
) |
Topic:
Check direction a character is facing.