Common Event Buttons

commonEventButtons1

By default, common events can only be executed when you have an event call a common event, or if a common event runs automatically when a condition is met.

With this plugin, you can assign common events to certain buttons on the keyboard. When that button is pressed, the common event will be executed as long as you are on the map and common events can be executed!

This allows you to create your own special logic when certain keys are pressed, without having to find or write a plugin for it.

So for example, if you wanted to press a button to switch the order of your party members while on the map, you can create a common event and then put together the event logic. Finally, you can assign this common event to one of your game buttons! No scripting required.

Download

Plugin: download here (right-click, save-as)

Suggested plugins to use the entire keyboard

Installation

Download the plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_CommonEventButtons plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

To assign a common event to a button, create a comment somewhere in the
common event and then write

  <trigger button: BUTTON_NAME />

commonEventButtons2

RPG Maker offers a very limited set of buttons to work with by default. They
are as follows:

  ok       - Z key, or Enter key
  escape   - X key, or Esc key
  shift    - left or right shift
  control  - left or right ctrl/alt
  pageup   - Q key, or page up key
  pagedown - W key, or page down key
  up       - up arrow, or numpad 8
  down     - down arrow, or numpad 2
  left     - left arrow, or numpad 4     
  right    - right arrow, or numpad 6
  debug    - F9

So for example, if you wanted a common event to run whenever you press one
of the escape buttons, you would write

  <trigger button: escape />

And, if successful, the common event you assigned to it will run when you
press the button on the map.

I would recommend one of the full keyboard plugins available in the download section if your game requires a lot of keyboard functionality.

You may also like...

67 Responses

  1. Christe says:

    Wow! After all I got a weblog from where I can in fact obtain helpful information regarding my study and knowledge.

  2. Laval says:

    Excellent blog here! Also your web site loads up fast!
    What web host are you using? Can I get your affiliate link to your host?
    I wish my website loaded up as quickly as yours lol

  3. Cheree says:

    Hi there, yup this article is actually fastidious and I have learned lot
    of things from it regarding blogging. thanks.

  4. Rockey says:

    I am regular visitor, how are you everybody?
    This article posted at this web site is truly fastidious.

  5. Jacob says:

    Very nice post. I just stumbled upon your weblog and wished
    to say that I have truly enjoyed browsing your blog posts.
    In any case I will be subscribing to your feed and I hope
    you write again very soon!

  6. Cressie says:

    It’s not my first time to go to see this web site, i am visiting this website dailly and get good data from here
    every day.

  7. Shannette says:

    Greetings from Ohio! I’m bored at work so I decided to browse your site on my iphone during lunch break.

    I enjoy the info you provide here and can’t wait to
    take a look when I get home. I’m surprised at how fast your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyways, excellent
    blog!

  8. Dontavis says:

    You have made some decent points there. I looked on the net for more
    information about the issue and found most individuals will go along with
    your views on this site.

  9. Latarsha says:

    Great beat ! I wish to apprentice while you amend your website, how can i subscribe for a
    blog website? The account helped me a acceptable deal.

    I had been a little bit acquainted of this your broadcast offered bright clear concept

  10. Kanitra says:

    It is in point of fact a great and useful piece of information.
    I am satisfied that you just shared this helpful info with us.
    Please stay us up to date like this. Thank you for sharing.

  11. Kwana says:

    Good post. I learn something totally new and challenging on websites
    I stumbleupon every day. It will always be useful to read through content from other authors and practice something from
    other web sites.

  12. Tashae says:

    You actually make it seem so easy with your presentation but I find this topic to be really something which I think I would
    never understand. It seems too complex and extremely broad for me.

    I’m looking forward for your next post, I’ll try to get the hang of it!

  13. Lannette says:

    Hi there! Someone in my Facebook group shared this website with
    us so I came to give it a look. I’m definitely enjoying
    the information. I’m bookmarking and will be tweeting this to my followers!
    Outstanding blog and outstanding design.

  14. Tenequa says:

    I have read so many posts regarding the blogger lovers except this article is
    truly a good article, keep it up.

  15. Liliane says:

    I blog often and I really appreciate your information. The article has really peaked
    my interest. I’m going to book mark your blog and keep checking for new information about once per
    week. I opted in for your RSS feed too.

  16. Charlisse says:

    I know this if off topic but I’m looking into starting
    my own blog and was curious what all is
    needed to get setup? I’m assuming having a blog like yours would cost a pretty
    penny? I’m not very web smart so I’m not 100% certain. Any recommendations or advice would be greatly appreciated.
    Kudos

  17. Chalice says:

    Hello, I believe your website may be having internet browser compatibility issues.
    When I look at your web site in Safari, it looks fine however, when opening in Internet Explorer, it has some
    overlapping issues. I simply wanted to give you a quick heads up!
    Other than that, excellent website!

  18. Lakeya says:

    Useful information. Lucky me I discovered your site by chance, and I am shocked why this
    coincidence didn’t took place in advance! I bookmarked it.

  19. Tomie says:

    Thanks for sharing your thoughts. I truly appreciate your
    efforts and I am waiting for your next post thanks
    once again.

  20. Ivana says:

    Hi there to all, how is all, I think every one
    is getting more from this web page, and your views are pleasant in favor of new viewers.

  21. Woodley says:

    Hi, I think your site might be having browser compatibility issues.

    When I look at your blog in Opera, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, superb blog!

  22. Conroy says:

    This paragraph will help the internet users for setting up new web site or
    even a weblog from start to end.

  23. Courteny says:

    Hello there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good
    results. If you know of any please share. Thank you!

  24. Katima says:

    Hi there, I enjoy reading all of your article. I like to write a little comment to support you.

  25. Grayce says:

    This paragraph will help the internet users for building up new weblog or even a blog from start to end.

  26. Fredo says:

    Thanks for sharing your info. I truly appreciate your efforts and I am waiting for
    your further write ups thanks once again.

  27. Curtrina says:

    After exploring a handful of the blog posts on your blog, I seriously
    appreciate your way of writing a blog. I book marked
    it to my bookmark site list and will be checking back in the near future.
    Please check out my website as well and let me know how
    you feel.

  28. Sary says:

    Nice post. I was checking continuously this blog and I’m inspired!
    Extremely helpful information particularly the remaining section 🙂 I deal with such information much.
    I used to be looking for this certain information for a long time.

    Thanks and best of luck.

  29. Ileah says:

    Good post. I learn something totally new and challenging
    on sites I stumbleupon everyday. It will always be helpful to read articles
    from other writers and practice a little something from other web
    sites.

  30. Sakeena says:

    Have you ever thought about adding a little bit more than just your articles?
    I mean, what you say is valuable and everything. Nevertheless just imagine if
    you added some great visuals or video clips to give your posts more, “pop”!
    Your content is excellent but with pics and videos, this blog could definitely be one of the best
    in its field. Awesome blog!

  31. Frederic says:

    Fantastic beat ! I wish to apprentice whilst you amend your website, how can i subscribe for
    a weblog web site? The account aided me a applicable deal. I had
    been a little bit familiar of this your broadcast offered shiny clear idea

  32. Mattheu says:

    I really like your blog.. very nice colors & theme.
    Did you make this website yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to construct my own blog and would like
    to find out where u got this from. many thanks

  33. Britnei says:

    What’s Going down i am new to this, I stumbled upon this I have found It positively
    helpful and it has helped me out loads. I’m hoping to give a contribution & help other customers like its helped me.
    Good job.

  34. Chistopher says:

    Hey! I know this is somewhat off topic but I was wondering which blog
    platform are you using for this website?

    I’m getting tired of WordPress because I’ve had problems with hackers
    and I’m looking at alternatives for another platform.
    I would be fantastic if you could point me in the direction of a good platform.

  35. Ramiro says:

    Heya i’m for the primary time here. I found this board and I
    find It truly helpful & it helped me out a lot. I’m hoping
    to present something again and aid others such
    as you aided me.

  36. Jaison says:

    I love what you guys are up too. Such clever work and
    coverage! Keep up the good works guys I’ve included you guys to my own blogroll.

  37. Fara says:

    Thank you a bunch for sharing this with all of us you
    really recognize what you’re speaking approximately!
    Bookmarked. Kindly additionally talk over with
    my site =). We could have a hyperlink change agreement among us

  38. Paulina says:

    This article presents clear idea in favor of the new
    visitors of blogging, that really how to do running a blog.

  39. Jennelle says:

    Its like you learn my thoughts! You seem to understand so much approximately this, such as you wrote the book in it or something.
    I believe that you simply could do with a few % to drive the message
    house a bit, however instead of that, that is fantastic blog.
    A great read. I will definitely be back.

  40. Adrien says:

    I feel this is one of the such a lot significant info for me.
    And i am satisfied reading your article. But wanna remark on some normal
    issues, The website taste is great, the articles is in reality
    nice : D. Just right process, cheers

  41. Justis says:

    Wonderful work! That is the type of info that should be shared across the net.
    Disgrace on the search engines for not positioning this put
    up upper! Come on over and discuss with my website .
    Thanks =)

  42. Morrisa says:

    Tremendous issues here. I am very satisfied to peer your article.
    Thanks a lot and I’m looking ahead to contact you.
    Will you kindly drop me a e-mail?

  43. Martinez says:

    I’ve been exploring for a little bit for any high-quality articles or weblog posts in this kind of space
    . Exploring in Yahoo I at last stumbled upon this
    website. Studying this information So i’m happy to show that I’ve an incredibly excellent uncanny feeling I discovered exactly what
    I needed. I so much certainly will make sure to do not
    forget this web site and provides it a glance regularly.

  44. Tearle says:

    Hello There. I discovered your weblog the use of msn. That is a very well written article.

    I will be sure to bookmark it and come back to read more of your useful information. Thank you for the
    post. I will certainly return.

  45. Sarath says:

    Hi there mates, fastidious post and nice arguments commented at this place,
    I am actually enjoying by these.

  46. Obrian says:

    I’m not that much of a internet reader to be honest but your blogs really
    nice, keep it up! I’ll go ahead and bookmark your website to come back later on. All the best

  47. Shanequa says:

    Thanks for another informative blog. The place else could I get that type
    of info written in such an ideal way? I’ve a undertaking that I am just now
    working on, and I’ve been at the look out for such info.

  48. Suman says:

    I constantly spent my half an hour to read this
    webpage’s posts every day along with a cup of coffee.

  49. Lezlie says:

    Hi colleagues, pleasant piece of writing and fastidious arguments commented at this place, I am in fact enjoying by these.

  50. Edurdo says:

    whoah this blog is great i really like reading your posts.

    Keep up the great work! You already know, many people are searching around for this information, you could help them greatly.

  51. Semaj says:

    Hello, There’s no doubt that your site could be having web browser compatibility issues.
    When I look at your blog in Safari, it looks fine however when opening in Internet
    Explorer, it’s got some overlapping issues. I merely wanted
    to provide you with a quick heads up! Apart from that,
    great website!

  52. Dawnya says:

    I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. In my opinion, if all website owners and bloggers made good content as you
    did, the internet will be much more useful than ever before.

  53. Thanks for your help and for writing this post. It’s been great.

  54. steven coil says:

    It say it doesn’t work in mz edition any ideas?

  55. Jake says:

    Hi! I love this plugin, because it allows me to bind a common event to spacebar (‘ok’), and still trigger events through the action key. However, I am running to a major bug/compatibility issue with Yanfly’s Extended Message Pack. When using these plugins, your common event buttons cause all text windows to be misplaced. Any help with this would be GREATLY appreciated!

  56. "Ethan" says:

    Mouse/Touchscreen compatible? Right click/Two finger tap is also an Escape button.

  57. Anonymous says:

    I nubs this plugin <3

  58. Mark says:

    Can you activate an object that has a common event, and with the same key disable it again?

    • Jen says:

      I’m looking for the same… can’t find a solution. Anybody tips?

      • fortythreesunsets says:

        This worked for me:

        <trigger button: escape />
        if Switch1 is OFF
        //instructions to activate event
        Control Switches: Switch1 = ON
        :Else
        //instructions to deactivate event
        Control Switches: Switch1 = OFF
        End

  59. blue says:

    How to make the common event only work on the map (out of combat)

  60. Kerykeion says:

    Hey Hime,

    I’m trying to use this to create a hotkey to abort a battle. I have no issues doing so in a randomly occurring battle from walking on the map, or testing from database. When trying to do the same in an evented battle, it no longer works. Please help!

  61. Paragorn says:

    Hello. My Name is Paragorn i’am german. So i download you awsom Plugin and it work. But.i cant activate a Common Event with any button :% Can you please help me? A Demo Game was realy helpfull.

  62. Eon.K says:

    This is amazing but I need to mention that it says “Downlaod” since it will bug me if I dont say anything!

Leave a Reply to Hime Cancel reply

Your email address will not be published. Required fields are marked *