RPG Maker Forums

I want to request for a script that suits my needs. Here is my problem, I tried to do a common event that checks if I have equipped an x armor or y weapon and add or decrease a variable depending if they're equipped or not. Since it is ran by a parallel process, I've noticed that my variable became negative! It is evident on the fact that since I have branches of elses there...it makes the point clear.

My request is this:

Just like a regular armor or weapon, I want a script that:

when x armor is equipped or when y weapon is equipped, it adds a value to a variable. If it is unequipped, the variable should return to its original value. I would want a list of armor and weapon to do it from, since I want to specify which among my weapons and armor carry such functionality.

An example would be:

  • Wooden Armor - adds +2 to the variable
  • Iron Shield - adds +3 to the variable
Note that I use items that adds something to the variable (through a common event) but permanently...I don't know if it has any help about my request but I hope I laid all the request foundations clear.

Thank you so much.

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top