Main Menu

Need accessories to call common events when equipped [RESOLVED]

Started by Irock, April 07, 2007, 09:35:23 PM

0 Members and 1 Guest are viewing this topic.

Irock

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.

Falcon

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.

Irock

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.

Falcon

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 =/

Halestorm5

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.

Irock

Thanks Darklord! I was thinking too deep. Parallel processes are just what I need.

Falcon

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.

Irock

No, I'm proabably going to make allot. I'll use an anti lag script and hope it isn't too laggy.

Falcon

Be careful what anti-lag script you use, Near's works by not updating events that the player can't see.