Common Equip Events

This script allows you to assign common events to weapons/armors that will be run when you equip or dequip (un-equip) them. The common events are assigned separately, so you might have one equip event, and another dequip event.

Download

Script: download here

If you would like the common event to run in the scene, you will need to use something like the Scene Interpreter

Installation

Place this below Materials and above Main.

Usage

Tag your equips with

<equip event: x>
<dequip event: x>

For some common event ID x.

You may also like...

132 Responses

  1. This website really has all the info I wanted about this subject
    and didn’t know who to ask.

  2. Wow, amazing blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your
    website is wonderful, let alone the content!

    my site vpn special coupon

  3. It is appropriate time to make some plans for the future and
    it’s time to be happy. I have read this post and if I could I desire to suggest you few interesting things or advice.
    Maybe you can write next articles referring to this article.
    I wish to read even more things about it!

  4. Wow, amazing weblog layout! How lengthy have you
    ever been blogging for? you make blogging look easy.

    The total glance of your web site is magnificent, as neatly as the content!

    my blog post … vpn coupon 2024

  5. Saved as a favorite, I love your website!

    Also visit my web blog vpn special coupon

  6. vpn 2024 says:

    You ought to take part in a contest for one of the finest sites online.
    I most certainly will highly recommend this website!

    Here is my web site: vpn 2024

  7. Hello there! Would you mind if I share your blog with my zynga group?
    There’s a lot of people that I think would really enjoy your content.
    Please let me know. Thanks

  8. Clarissa says:

    Hi there, just wanted to tell you, I liked this article.

    It was practical. Keep on posting!

  9. You really make it appear so easy together with your presentation however
    I find this matter to be actually one thing that I think I would by no means understand.
    It seems too complex and very vast for me. I’m having a look forward in your subsequent submit,
    I will try to get the hang of it!

  10. This is my first time pay a visit at here and i am genuinely happy
    to read everthing at alone place.

  11. Howdy just wanted to give you a quick heads up.
    The words in your post seem to be running off the screen in Firefox.

    I’m not sure if this is a format issue or something to
    do with browser compatibility but I thought I’d post to let
    you know. The style and design look great though! Hope you get the problem resolved soon. Cheers

    Also visit my webpage vpn special coupon

  12. Donyea says:

    I visited multiple sites but the audio quality for
    audio songs present at this web site is genuinely marvelous.

  13. Markeya says:

    Wow that was strange. I just wrote an really long comment but after I clicked submit my comment
    didn’t appear. Grrrr… well I’m not writing all that over again. Regardless,
    just wanted to say wonderful blog!

  14. Lannette says:

    Highly descriptive article, I loved that bit. Will there be a part 2?

  15. Shaheen says:

    Hey, I think your blog might be having browser compatibility issues.
    When I look at your website in Chrome, 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, great blog!

  16. Lenamarie says:

    Hey! I know this is kinda off topic but I was wondering which blog platform are
    you using for this site? I’m getting fed up of WordPress because I’ve had issues with hackers and
    I’m looking at alternatives for another platform. I would be awesome if
    you could point me in the direction of a good platform.

  17. Travon says:

    My partner and I absolutely love your blog and find most
    of your post’s to be exactly I’m looking for. can you
    offer guest writers to write content in your
    case? I wouldn’t mind publishing a post or elaborating on most
    of the subjects you write about here. Again, awesome blog!

  18. Bretney says:

    No matter if some one searches for his necessary
    thing, therefore he/she wishes to be available that in detail,
    thus that thing is maintained over here.

  19. Gaetano says:

    I believe that is among the so much important information for me.
    And i’m satisfied reading your article. But want to observation on few general things, The website style
    is wonderful, the articles is in point of fact nice : D.
    Excellent process, cheers

  20. Frederick says:

    Hi there mates, how is everything, and what you desire
    to say concerning this paragraph, in my view its in fact
    remarkable for me.

  21. Janitza says:

    I truly love your blog.. Great colors & theme. Did
    you make this site yourself? Please reply back as I’m attempting to create my own personal
    blog and would love to know where you got this from or exactly what the theme is called.
    Kudos!

  22. Quanisha says:

    It’s going to be finish of mine day, but before finish I am
    reading this great article to improve my experience.

  23. Stetson says:

    Hey! I know this is kind of 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 great if you could point me in the direction of a good platform.

  24. Tamira says:

    certainly like your web site however you need to test the spelling on several of your posts.
    Several of them are rife with spelling issues and I in finding it very troublesome to tell the reality
    on the other hand I will certainly come back again.

  25. Marlinda says:

    Pretty! This has been an extremely wonderful post.
    Thanks for supplying these details.

  26. Ieesha says:

    Heya are using WordPress for your site platform?
    I’m new to the blog world but I’m trying to get
    started and create my own. Do you require any coding expertise to make your
    own blog? Any help would be really appreciated!

  27. Denay says:

    I take pleasure in, cause I found exactly what I was having
    a look for. You’ve ended my four day lengthy hunt! God Bless
    you man. Have a great day. Bye

  28. Mariquita says:

    I am curious to find out what blog system you’re using? I’m experiencing
    some small security issues with my latest blog and I would like to find something more risk-free.

    Do you have any recommendations?

  29. Neema says:

    Your style is so unique compared to other folks I have read stuff from.
    Thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this page.

  30. Evann says:

    Hi! I know this is kind of off-topic but I had to ask.
    Does managing a well-established website like yours require a large amount of work?
    I am completely new to blogging however I do write in my diary everyday.
    I’d like to start a blog so I can easily share my own experience and thoughts online.
    Please let me know if you have any recommendations or tips for new aspiring bloggers.
    Appreciate it!

  31. Jim says:

    I am truly delighted to read this webpage posts which includes tons of valuable data, thanks for providing these information.

  32. Catarino says:

    I believe what you published was very logical.
    However, think about this, suppose you added a little information? I am not suggesting
    your information isn’t good, but what if you added a title to
    maybe grab folk’s attention? I mean Common Equip Events – 姫HimeWorks is
    kinda boring. You could glance at Yahoo’s home page and see
    how they create article titles to grab people to click.

    You might add a related video or a related picture or two to grab people excited
    about everything’ve got to say. Just my opinion, it could bring
    your posts a little bit more interesting.

  33. Karilee says:

    Nice blog! Is your theme custom made or did you download
    it from somewhere? A theme like yours with a few simple adjustements would
    really make my blog stand out. Please let me
    know where you got your design. Many thanks

  34. Anisha says:

    Having read this I thought it was very informative. I appreciate you finding the time
    and energy to put this information together. I once again find
    myself personally spending a lot of time both reading and posting comments.
    But so what, it was still worthwhile!

  35. Manu says:

    I absolutely love your site.. Great colors & theme. Did you make this amazing site yourself?
    Please reply back as I’m attempting to create my own personal site
    and would like to learn where you got this from or exactly what the theme
    is called. Kudos!

  36. Almee says:

    Amazing blog! Is your theme custom made or did you
    download it from somewhere? A design like yours with a few
    simple tweeks would really make my blog jump out.
    Please let me know where you got your design. Thanks a lot

  37. Carvell says:

    Fantastic goods from you, man. I’ve understand your stuff previous to and you are just extremely great.

    I really like what you have acquired here, really like what you’re stating
    and the way in which you say it. You make it enjoyable and you still take care of to keep it
    smart. I can not wait to read far more from you.

    This is really a tremendous site.

  38. Jeb says:

    Oh my goodness! Awesome article dude! Thank you so much, However I am having issues with your
    RSS. I don’t understand why I am unable to subscribe to it.
    Is there anybody getting identical RSS problems? Anybody who knows the answer can you kindly respond?
    Thanks!!

  39. Chancey says:

    Spot on with this write-up, I really think this amazing site needs a lot more attention.
    I’ll probably be back again to read through more, thanks for the advice!

  40. Lenita says:

    What’s up to every , for the reason that I am really eager of reading this blog’s post to be updated regularly.
    It contains good data.

  41. Glenny says:

    Very nice post. I just stumbled upon your weblog and wanted to say that
    I have really enjoyed browsing your weblog posts. In any case I’ll be subscribing for
    your rss feed and I am hoping you write once more soon!

  42. Olabode says:

    What a information of un-ambiguity and preserveness of precious experience regarding unexpected emotions.

  43. Ammie says:

    Greetings! I know this is kinda off topic but I was wondering if you knew
    where I could find a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having trouble
    finding one? Thanks a lot!

  44. Domminic says:

    I was wondering if you ever thought of changing
    the layout of your blog? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect
    with it better. Youve got an awful lot of text for only having
    1 or 2 images. Maybe you could space it out better?

  45. Anina says:

    I read this piece of writing fully regarding the
    resemblance of newest and preceding technologies, it’s amazing article.

  46. Vanity says:

    Do you have a spam problem on this blog; I also am a blogger,
    and I was wanting to know your situation; we have created some nice methods
    and we are looking to exchange strategies with other folks,
    be sure to shoot me an e-mail if interested.

  47. Lamar says:

    Thanks very interesting blog!

  48. Reko says:

    Thanks in favor of sharing such a pleasant thinking, paragraph
    is fastidious, thats why i have read it entirely

  49. Marcy says:

    Just wish to say your article is as amazing. The clarity in your post is just spectacular and i can assume you’re knowledgeable on this subject.
    Well along with your permission let me to take hold of your feed to keep
    up to date with drawing close post. Thank you 1,000,000
    and please keep up the enjoyable work.

  50. Garan says:

    Thanks for sharing your thoughts on website. Regards

  51. Courtland says:

    Very nice post. I just stumbled upon your blog and wished to say that
    I’ve really enjoyed surfing around your blog posts.
    In any case I will be subscribing to your rss
    feed and I hope you write again soon!

  52. Corrin says:

    Hi! I simply wish to give you a huge thumbs up for the excellent info you
    have got here on this post. I am returning to your website for more
    soon.

  53. Femi says:

    Hello, just wanted to say, I loved this post.
    It was practical. Keep on posting!

  54. Rasheedah says:

    It’s remarkable to pay a quick visit this website and reading the views of all mates on the topic of this post, while
    I am also eager of getting experience.

  55. Werner says:

    Hi just wanted to give you a quick heads up and let you know a few of the images aren’t loading properly.

    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different browsers and
    both show the same results.

  56. Filberto says:

    I’ve learn a few just right stuff here. Certainly worth bookmarking for revisiting.
    I wonder how a lot attempt you put to make such a
    great informative site.

  57. Shaunita says:

    What’s up, everything is going fine here and ofcourse every one is sharing data,
    that’s genuinely excellent, keep up writing.

  58. Antwyne says:

    Very good post. I’m going through many of these issues as well..

  59. Yulonda says:

    Have you ever considered publishing an ebook or guest authoring on other sites?

    I have a blog centered on the same subjects you discuss and would love to
    have you share some stories/information. I know my readers would appreciate your work.
    If you are even remotely interested, feel free to shoot me an e-mail.

  60. Bessie says:

    Right now it looks like BlogEngine is the best blogging platform available right now.

    (from what I’ve read) Is that what you are using on your blog?

  61. Baxter says:

    What’s Going down i am new to this, I stumbled upon this
    I’ve discovered It positively useful and it has helped me out loads.
    I hope to contribute & aid different customers like its
    aided me. Good job.

  62. Dawyne says:

    Wow, this piece of writing is pleasant, my younger sister is analyzing
    these things, so I am going to let know her.

  63. Amin says:

    Hello there! I know this is somewhat off topic but I was wondering which blog platform are
    you using for this site? 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.

  64. Graydon says:

    I want to to thank you for this fantastic read!! I definitely enjoyed every bit of it.
    I’ve got you book-marked to check out new stuff you post…

  65. Kean says:

    Amazing things here. I am very glad to look your article.
    Thanks a lot and I am having a look forward to contact you.
    Will you please drop me a e-mail?

  66. Kacie says:

    I always emailed this webpage post page to all my friends,
    since if like to read it after that my friends will too.

  67. Jamonica says:

    It’s an awesome piece of writing for all the web users;
    they will get benefit from it I am sure.

  68. Gretel says:

    Hmm is anyone else having problems with the pictures on this blog loading?
    I’m trying to find out if its a problem on my end
    or if it’s the blog. Any feed-back would be greatly appreciated.

  69. Shital says:

    I like the helpful information you provide in your articles.
    I will bookmark your weblog and take a look at again right here frequently.
    I am slightly sure I will be told lots of new stuff proper here!
    Best of luck for the next!

  70. Ladarryl says:

    Excellent goods from you, man. I’ve understand your stuff previous to and you are
    just extremely excellent. I actually like what you’ve acquired
    here, really like what you are saying and the way in which you
    say it. You make it entertaining and you still take care of to keep it
    sensible. I cant wait to read much more from you.
    This is really a terrific site.

  71. Meyer says:

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
    is added I get three e-mails with the same comment.
    Is there any way you can remove me from that service?
    Cheers!

  72. Teren says:

    Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyway, just wanted to say fantastic blog!

  73. Jael says:

    Hi there! Quick question that’s entirely off topic. Do you know how to
    make your site mobile friendly? My blog looks weird when viewing from
    my iphone4. I’m trying to find a template or plugin that might be able to
    resolve this issue. If you have any suggestions, please share.
    Cheers!

  74. Faryn says:

    Fantastic blog you have here but I was curious about if you
    knew of any message boards that cover the same topics talked about in this article?
    I’d really like to be a part of group where I can get responses from other knowledgeable individuals that share the same interest.
    If you have any suggestions, please let me know. Many thanks!

  75. Darious says:

    Have you ever considered writing an e-book or
    guest authoring on other sites? I have a blog based upon on the same ideas you discuss and would love to have you share some stories/information.
    I know my visitors would appreciate your work.

    If you’re even remotely interested, feel free to shoot me an e mail.

  76. Sulma says:

    I like the helpful information you provide in your articles.
    I will bookmark your blog and check again here frequently.
    I’m quite certain I’ll learn plenty of new stuff right here!

    Best of luck for the next!

  77. Brittainy says:

    What’s Taking place i’m new to this, I stumbled upon this
    I’ve found It absolutely useful and it has aided me out loads.
    I am hoping to give a contribution & assist other customers like its helped me.
    Great job.

  78. Cormac says:

    Excellent beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog web site?

    The account helped me a acceptable deal. I had been tiny bit acquainted of
    this your broadcast offered bright clear concept

  79. Lyda says:

    Hi! This post could not be written any better! Reading through this post reminds
    me of my previous room mate! He always kept chatting about this.
    I will forward this write-up to him. Pretty sure he will have a good
    read. Many thanks for sharing!

  80. Tamora says:

    Hey There. I discovered your blog using msn. That
    is a very neatly written article. I will be
    sure to bookmark it and return to learn extra
    of your helpful information. Thanks for the post. I’ll definitely return.

  81. Anonymous says:

    I might be a huge noob but how do I download the script?

  82. Jachan says:

    Correct me if I am wrong about this but…
    I am looking for weapons + common-event, like this…
    I got an unusual “attack” that would be more like a heart of this game project (like, “Materia” system for FF7, you know?) but it’s actually full of Common Event (combined with the Skill itself)… When I was going to equip Common Event in each weapon, I found myself to not able find “Common Event” option anywhere. I would like to have the weapons including Common Events and let hero attack which will unleash this “unusual attack” each time hero attack…

    Is this the one? Or wrong one?

  83. Anonymous says:

    is any plugin like this for rpg maker mv

  84. blackmdawn says:

    This script might be just what I needed, but I can’t seem to get past one thing.

    From what I’ve read, it seems like I would need to create a different pair of common events for every equip in the game. If I have to do that, then so be it, but I would really like to be able to have one equip and one unequip common events, each with a series of conditionals to do something based on the particular equip.

    Every armor and weapon is going to have a weight, which I want to add or subtract from a total_weight variable upon equip/unequip.

    I guess the issue with that would be if I changed armor several times before exiting the menu, and it wouldn’t know what to do.

    I’d really appreciate it if you have any suggestions.

    Thank you for your time.

  85. shotokun says:

    hello! this script is absolutely perfect, but i was wondering if there was a way to get the event to play only once, such as having a conversation play only the first time you equip the weapon/armor? i apologize if this is a simple oversight on my part or just something that can’t be done, but thanks in advance anyway!

    • Hime says:

      You can use a switch to keep track of whether the event has been played or not, and wrap everything inside a conditional branch on that switch.

  86. Mireneye says:

    Using this together with Smithing by Richter_h and TheoAllen. I have this oddity where if I quit the game to meny and try to start a new game i get this error: “undefined method ‘equip_event_id=’ for#<RPG::UpgradeWeapon:0x8e3x3x8”

    I’m trying to draw some conclusion as to what is going on but so far I’m drawing blanks. It’s referencing line 254 of the Smithing script which is the last “end” within the quotation marks:

    cloned = RPG::UpgradedWeapon.new
    self.instance_variables.each do |varsym|
    ivar_name = varsym.to_s.gsub(/@/) {""}
    eval("
    if cloned.respond_to?(\"#{ivar_name}\")
    begin
    cloned.#{ivar_name} = original.#{ivar_name}.clone
    rescue
    cloned.#{ivar_name} = original.#{ivar_name}
    end
    end")

    Any ideas? Thanks in advance!

    • Hime says:

      equip_event_id is not publicly accessible. You can only read the value.

      Easiest way to get around this would be to add the following

      attr_accessor :equip_event_id

      Inside of class RPG::EquipItem

  87. Seth says:

    How would you go about requiring two of the same weapon needed to be equip for the event to run?

    • Hime says:

      This script does not support conditions. You can add the check to the common event with a conditional branch, but then this script doesn’t tell you which actor called the common event. For the most part there isn’t an obvious way that I can see how this would be done without modifying the script.

      • Seth says:

        Thanks for the fast response. In my game you get to choose between sword and sword or sword and shield (same set-up for war axes and other weapons) but i want them to be equipped before you can progress in the game. If you know of how i can do this or another script that does the same please let me know.

        • Hime says:

          If you just need to check a specific actor, you can call a common event and then inside the common event you would check whether the specific actor has two of the same equip.

          This can be done using a script call in your conditional branch

          w = $game_actors[2].weapons; w.length > 1 && w[0].id == w[1].id
          

          Which will be true only if actor 2 is holding two of the same weapon (based on ID)

  88. Flimbo says:

    Hi Tsukihime,

    Would it be possible to use the Scene Interpreter script together with this one, so a dequip common event is run right when I try to remove an equip, instead of when I press esc and leave the equip menu scene?

    Thanks!

    • Hime says:

      It should work the same as using items in the item menu.

      • Flimbo says:

        Regarding the example, right now if I use an item from the item menu (with effect manager + effect common event) it quickly goes to the map and then runs the common event. With the dequip event, it only runs after I exit the equip scene and the menu scene. It’s the expected behavior?

  89. Flimbo says:

    Hi Tsukihime,

    Would be possible to pass arguments to the common event, so it would know which equip called it, the actor, etc?

    Thanks!

  90. unfauglith says:

    Well, I'm not exactly good at scripting (if that's not evident already), but I did followed the instructions of both scripts.
    I tagged a equipment to asign it a common event, and in the common event I placed the comment that make the event run in the current scene. The event itself was the class change.
    So, what happened is that the actor changed it's class without having to exit to the map, but not before exiting the equipment window.
    What I would like is the change of class to occur when still in the equipment window.

    • Hime says:

      If the class change is supposed to change the equip slots, that won't occur until you refresh the window (which by default means you need to leave and re-enter).

  91. unfauglith says:

    Hello, Hime. Thanks for this excelent script. It works perfectly, although I'm having some sort of an issue (but I don't think it's because there's something wrong with the script, it's just that it doesn't do exactly what I want… which is to be expected).

    Anyway. Using your script, I made an armor that change the class of the actor when equipped. And it does change the class. The problem is that it doesn't do it 'immediately', as in that when the armor is equipped, nothing happens (the class remain the same) until you exit the equipment window. So, this is sort of an issue, because I would like that the class changed when still being in the equipment window, so the player could change the equipment of the actor now that it have a different class.

    ¿Something can be done about this? I hope so. Sorry for bad english and too much text. Thanks again for your awesome scripts.

    • unfauglith says:

      Also, I tried to use the Scene Interpreter script, but it didn't do much.

    • Hime says:

      The problem you're having is that common events only run on the map or during battle and nowhere else. This means that even if you reserve a common event in the equip scene, it won't be run until you go to the map.

      The scene interpreter allows you to run common events in every scene, but you need to tell the engine that you actually want the common event to run in the current scene.

  92. RaynorX says:

    The link is down 🙁

  93. Joey Desud says:

    Hi, I know this goes beyond the script of your scope. I was wondering what I could do to use this with Victor's Materia Equip. For example, I want to make a materia that enables you to Equip Guns. Once you take off the materia any gun that is equipped to the character should come off.

    The materias are set up as armor, so I thought that I could use this equip/deequip script with it, but nothing happens; If you could give me some guidance it would be great. thanks for the script 🙂

    • Hime says:

      You need to get someone to update victor's script to automatically remove equips that cannot be equipped. This script should detect un-equipping automatically if done correctly.

  94. Nathan says:

    Thanks for the Script! But I seem to have a problem when the actor changes equipment to equipment. For example if actor equips dragon armor (common event ID: 001) then while wearing the dragon armor, changes to Leather armor (common event ID: 001 – I use conditional branch to keep the common event list clean) it goes to dequip sprite instead of the leather armor sprite, but if the actor removes ANY armor in general and re-equip whatever armor It chooses it works just fine. Am I doing something wrong in the common event?

    • Hime says:

      When you change armors, you would first un-equip your dragon armor and then equip the leather armor. You would expect the dequip event to run first, followed by the equip event. It is possible that the order is wrong.

      I looked at the script and found that the equip event is queued up before the dequip event, so that may be why.
      I’ve re-ordered them based on the logic above since order of execution actually matters.

      Update the script and see if that solves the problem.

  95. NitewolfDa says:

    Sry to bother you, but is this how i do it?: I create a common event that is named “song” and it will play a song when i put on armor. Then i go to my armor and write “song” in the notes box. Is that how you do it?

  96. NitewolfDa says:

    How do i “tag equips” I don’t really understand the explanation on how to use… Please tell! (I’m not too familiar with scripts…)

  97. Nick says:

    What are the usage conditions on this script?

  98. A Post says:

    For some reason, this script seems to be incompatible with the Scene Interpreter script.

    This error comes up on a clean project with only the “Scene Interpreter” script above the “Common Equip Events” script whenever I utilize a usable item with a common event attached:

    http://d.pictureupload.us/152536972251b253b00d22c.png

    Without this script, it runs as it should:

    http://d.pictureupload.us/187816143951b25490cadf6.png

Leave a Reply

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