Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: nightmarer on Mon 05/04/2021 22:04:07

Title: Get character facedirection
Post by: nightmarer on Mon 05/04/2021 22:04:07
Hello.

There is many functions to set the direction that a character is facing to, but I would like to know if there is a why to get which is that direction in orden to build an script that will run the proper loop and save many lines of code.
Any idea?

Regards.
Title: Re: Get character facedirection
Post by: Cassiebsg on Mon 05/04/2021 22:19:18
You can check the Character.Loop to see where he's "facing".
Title: Re: Get character facedirection
Post by: nightmarer on Mon 05/04/2021 22:25:21
Good idea, thank you!