Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Branch Condition on Any key press
- Original author: Dandydan
- Original date: January 22, 2014
- Source thread: https://forums.rpgmakerweb.com/threads/branch-condition-on-any-key-press.22764/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I want to create a conditional branch that triggers an event on ANY key press. The help file says, Input.dir8 Checks the status of the directional buttons, translates the data into a specialized 8-direction input format, and returns the number pad equivalent (1, 2, 3, 4, 6, 7, 8, 9). If no directional buttons are being pressed (or the equivalent), returns 0." Click to expand...
Archived First Post
I want to create a conditional branch that triggers an event on ANY key press. The help file says,
Protected download
The script works correctly if I change the trigger to "Action Button". Then the picture displays after the player hits space bar and erases when the player moves in any direction.
This doesn't actually work for me when the event is triggered by "Player Touch". Here is my scriptInput.dir8 Checks the status of the directional buttons, translates the data into a specialized 8-direction input format, and returns the number pad equivalent (1, 2, 3, 4, 6, 7, 8, 9).
If no directional buttons are being pressed (or the equivalent), returns 0."
Protected download
The script works correctly if I change the trigger to "Action Button". Then the picture displays after the player hits space bar and erases when the player moves in any direction.
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...
