- 6,353
- Posts
- 19
- Years
- Seen Apr 16, 2020
Can't seem to find anything like this on any tutorials.
How would I go about making a script tile where the script doesn't execute unless the player is facing a certain direction and presses the A Button?
waitkeypress seems to wait for either the A or the B button, and I don't know how to check the direction the player is facing in XSE.
Are there any commands to check which button is pressed after a button is pressed or anything?
If you're using AdvanceMap, instead of a script tile you can use a signpost tile. By changing its "signpost type", you can make it so that the script assigned to it will only execute if the player is facing a certain direction.
However, you would have to press A while facing the signpost tile, not while stepping on it.