[SOLVED][VX Ace] Run Common Event when armor or weapon is equiped or unequiped

Started by Rahvin, April 17, 2013, 03:06:31 pm

Previous topic - Next topic

Rahvin

Hello :).

Is it possible to run a Common Event when an armor or a weapon is equiped or unequiped?

For example: I'd like to create an armor which gives the player some kind of night vision, when equiped (a common event simply places a green overlay over the screen).
Unfortunately you can not assign a Common Event to a weapon or an armor.

Any idea how to make this work? Perhaps a script that checkes if a certain armor is equiped and then run a Common Event via script?
Unfortunately I'm not skilled enough to write such a script, yet.

Any help is greatly appreciated :).

Edit:
I already found a script :):
http://www.rpgmakervxace.net/topic/6860-equip-events/

G_G

Open up Common Events. Set it to a parallel process. Add a Conditional Branch, on the 2nd tab, you can choose equipment for actors.