There is a brief portion of my game where the player needs to shoot at an enemy that is approaching them. The shot will only land if the player shoots while they're looking directly at the enemy event, with the distance between them not being a factor.
Ideally it would look something like this:
Check if "Enter" is pressed
Play "gun shot" SE
If: "Player" is facing "event-name-here"
>Play "enemy shot" event
Else:
>Nothing
I would like to know how to accomplish this, ideally as simple as possible. There is a "Player facing" option in the conditional branch settings, but it conveniently doesn't include events, just simple directions.
Ideally it would look something like this:
Check if "Enter" is pressed
Play "gun shot" SE
If: "Player" is facing "event-name-here"
>Play "enemy shot" event
Else:
>Nothing
I would like to know how to accomplish this, ideally as simple as possible. There is a "Player facing" option in the conditional branch settings, but it conveniently doesn't include events, just simple directions.