I know this must be a really simple thing, but I can't for the life of me figure it out! I'm working on some events, and I want to make it so that certain things happen when the character is not moving. I know how to make conditional branches for when the player is moving (i.e. when the up, down, left, and right arrows are being pressed)... but I can't figure out how to make a conditional branch for when the player is not moving. I feel like I need to use the Else part of a conditional branch, but I'm not sure...
Conditional branch for when the player is not moving?
● ARCHIVED · READ-ONLY
-
-
Use the Script part of the conditional branch, and enter this:
Code:It is the equivalent of saying "no directional buttons are being pressed".Input.dir4 == 0 -
!!! You're fantastic, that worked like a charm, thank you so much! I know next to nothing about scripts and didn't realize that they could be used like that in conditional branches, so thanks so much for teaching me that! I'm so glad that was such a quick fix, I thought I'd have to do some complicated combination of multiple directional conditional branches...
-
Thankfully, Enterbrain have made this an easy one :)
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.