The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Irock on April 07, 2007, 09:35:23 PM

Title: Need accessories to call common events when equipped [RESOLVED]
Post by: Irock on April 07, 2007, 09:35:23 PM
This seems like it would require a script. I need accessories to call a common event when equipped. Does anyone have a script like this or have the time to make one? It doesn't seem like too hard of a script.
Title: Re: Need accessories to call common events when equipped
Post by: Falcon on April 07, 2007, 09:39:47 PM
I'm not sure a common event would work or make sense, tell me what you have in mind and I'll tell you what you should do.
Title: Re: Need accessories to call common events when equipped
Post by: Irock on April 07, 2007, 09:42:33 PM
In Paper Mario, badges serve as items that do certain things when equipped. Alls I can do with accessories is change your stats, unlike Paper Mario where you can do certain things such as have your clothes changed to a color, or activate a script. Things like this would only be possible if I could call a common event.
Title: Re: Need accessories to call common events when equipped
Post by: Falcon on April 07, 2007, 09:45:10 PM
Accesories that change things? Do you just need an appearence change, a visual equipment script would work for you.

Otherwise, you could open Scene_Equip and add if statemenets to call common events I suppose. I'm 100% sure you would need a script, or you'd have to use a parallel process to check what the player has equiped =/
Title: Re: Need accessories to call common events when equipped
Post by: Halestorm5 on April 07, 2007, 09:46:02 PM
Have it change the spriteset as well. Then using a conditinal branch it changes back upon unequipping. Although it will take ages to manage it.
Title: Re: Need accessories to call common events when equipped
Post by: Irock on April 07, 2007, 09:47:00 PM
Thanks Darklord! I was thinking too deep. Parallel processes are just what I need.
Title: Re: Need accessories to call common events when equipped
Post by: Falcon on April 07, 2007, 09:49:34 PM
How many items would you need this for? If it's only one or two I could make a script which does this and won't lag nearly as much as a parallel process.
Title: Re: Need accessories to call common events when equipped
Post by: Irock on April 07, 2007, 09:52:23 PM
No, I'm proabably going to make allot. I'll use an anti lag script and hope it isn't too laggy.
Title: Re: Need accessories to call common events when equipped [RESOLVED]
Post by: Falcon on April 07, 2007, 09:54:49 PM
Be careful what anti-lag script you use, Near's works by not updating events that the player can't see.