public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Branch Condition on Any key press

BMM Archive · July 15, 2026

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, 

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."
This doesn't actually work for me when the event is triggered by "Player Touch". Here is my script

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 download

Referenced Images / Attachments

Kepress.png
Kepress.png
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.

#rpg-maker-archive#vxace-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar