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:
Thank you so much.
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
Thank you so much.