Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: inquisitorone on June 07, 2010, 02:08:19 AM
-
Hello, I've just made an attempt at eventing a character's "battle animation changer" for RPG Maker 2003. However, whenever I implement the code, I get an error stating that my script uses an "item which does not exist."
I don't really know where I went wrong, but I'm using variables to store the character's equipped items as I change their class, and using variables to re-equip said character.
Does anyone have any help to offer? I would be much appreciative if so!
Here is a screenshot of the current, non-functioning script:
(http://i326.photobucket.com/albums/k435/inquisitorone/script.png)
-
Is it possible to see the entire event page?
-
Well, did you make sure all the items you are reference exist? Did it work before?
-
A thought just hit me.
Are all equipment slots occupied?
Do you have a: weapon, shield, helm and accessory equipped when this event happens?
'cuz if not - it might just be the issue.
And if that is the problem - add conditional branches that checks if the value of the variable is greater than 0. And if it is, equip the item.
-
@Prpl_Mage: That was the entire event page; the remaining space shown by the slider is just standard white space shown through the <> symbols.
@ A Forgotten Legend: It did work before, but not in the way I wanted.
Thanks to both of you; the problem WAS that the script was adding in a Shield that wasn't equipped, but as soon as I added the conditional branches Prpl mentioned, it worked without a cinch.
-
I'm glad to help.