Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

SOLVED: Checking an Event's Direction?

Status
Not open for further replies.
So, for this example, two statues have to be turned to face Northways. Some switches change the direction they face, etc etc.

Basically, how would one check if an event is facing a certain direction, without using switches/variables on everything that could feasibly change the dir it is facing?

Another situation would be to have an enemy that only shoots when he is facing toward the player. When using pathfinding scripts, the enemy won't necessarily always be facing toward the player as they approach, for example.

I cannot find any such functionality, so I assume a plugin is required here to be able to use it in a plugin command/script call?

EDIT: NVM. Apparently it is done in the same window as checking a player's direction, I'm an idiot!
 
Last edited:
Status
Not open for further replies.
Top