Main Menu
  • Welcome to The RPG Maker Resource Kit.

[VX] Common EVent issue

Started by thanatos2k1, March 17, 2012, 02:27:23 PM

0 Members and 1 Guest are viewing this topic.

thanatos2k1

Hey all, I'm making a Spellsword character for my game:
  A little background:
    I have abilities like Ice Sword and Fire Sword, it imbues the actors weapon with fire and ice or whatever..  and this system is used with a common event..  and it works fine, all the abilities change, however..

  When you exit the battle the abilities that were last used are still there..  How could I make it so that the abilities reset back to the way they were (when he did not imbue his weapon)  I cant wrap my head around this..   This might even require a small snippet...
Does anyone know a way to do this?  Thanks in advance.

IAMFORTE

Umm, could you not make a common  event at battles end to remove the element imbued on the characters weapon, i assume your weapon has states? Like fire sword, Ice sword, so make a third state and call it normal sword, and apply it to the sword at the end of each battle?

thanatos2k1

Well, there was my issue..  How do I call an event at the end of battle? :-(

D&P3

Why not just set a common event that does that and set it to parallel process, as far as I'm aware, the parallel process of a common event doesn't run during battle unless you actually call it, so this way, you'd always have a normal sword type outside of battle.
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3

thanatos2k1

It worked! Thank you so much! Now I can continue!!