Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Event Script Help Needed (RMK 2003)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Event Script Help Needed (RMK 2003) (Read 4639 times)
inquisitorone
Rollin' since 1307
Initiate
Posts: 2
They're coming to take me away, haha!
Event Script Help Needed (RMK 2003)
«
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:
Logged
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Event Script Help Needed (RMK 2003)
«
Reply #1 on:
June 07, 2010, 07:23:49 AM »
Is it possible to see the entire event page?
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
A Forgotten Legend
Your neighborhood box of colors
Royal
Posts: 4,428
Re: Event Script Help Needed (RMK 2003)
«
Reply #2 on:
June 07, 2010, 12:44:05 PM »
Well, did you make sure all the items you are reference exist? Did it work before?
Logged
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Event Script Help Needed (RMK 2003)
«
Reply #3 on:
June 07, 2010, 12:46:51 PM »
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.
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
inquisitorone
Rollin' since 1307
Initiate
Posts: 2
They're coming to take me away, haha!
Re: Event Script Help Needed (RMK 2003)
«
Reply #4 on:
June 07, 2010, 04:28:36 PM »
@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.
Logged
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Event Script Help Needed (RMK 2003)
«
Reply #5 on:
June 07, 2010, 06:43:43 PM »
I'm glad to help.
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Event Script Help Needed (RMK 2003)