Disclaimer: I'm not extremely good with RPG Makers. Talking about scripts and/or variables may cause my head to asplode.
There's an accessory in the games Tales of Phantasia and Tales of Destiny where you equip it to a character, walk around a certain number of steps and a random item pops out, which is repeated for as long as you have the item equipped and stops if you unequip it. I want an accessory with this effect in the game I'm working on.
I'd really like to do this using a common event (I have Tsukihime's Equip Events installed) but I can't figure out how. I do know how to have Ace check for how many steps need to be taken (at least, I think I do) and how to set up the random pool of items for it to draw from, but my problem lies in figuring out if I can do all of that AND make it loop in a single common event since the method I'd come up with required a self switch after the step check (common events REALLY ought to have pages). I tried using Labels to jump back to the start of the event and putting the whole event in a Loop but those make my game freeze up upon equipping the accessory.
Other things I've tried (such as setting the Steps Taken variable back to zero after an item is produced) either:
-gives me an item every step
-gives me an item upon equipping and then never again
-works as intended ONCE and if I unequip and re-equip it goes haywire and only gives an item upon equipping
-just doesn't do anything at all.
I'm probably missing something extremely simple but like my disclaimer says I'm a derp with this program (and in general). And yeah, I know I can produce these effects by spamming parallel processes all over my maps, but I'm using Khas Awesome Light Effects and well, you know. Lag. Trying to keep extra processes on maps to a minimum if at all possible. I've considered Tsukihime's Scene Interpreter may be causing a problem, but I need it to make one of my other on-equip events to trigger in the menu so I don't wanna remove it if I don't have to.
There's an accessory in the games Tales of Phantasia and Tales of Destiny where you equip it to a character, walk around a certain number of steps and a random item pops out, which is repeated for as long as you have the item equipped and stops if you unequip it. I want an accessory with this effect in the game I'm working on.
I'd really like to do this using a common event (I have Tsukihime's Equip Events installed) but I can't figure out how. I do know how to have Ace check for how many steps need to be taken (at least, I think I do) and how to set up the random pool of items for it to draw from, but my problem lies in figuring out if I can do all of that AND make it loop in a single common event since the method I'd come up with required a self switch after the step check (common events REALLY ought to have pages). I tried using Labels to jump back to the start of the event and putting the whole event in a Loop but those make my game freeze up upon equipping the accessory.
Other things I've tried (such as setting the Steps Taken variable back to zero after an item is produced) either:
-gives me an item every step
-gives me an item upon equipping and then never again
-works as intended ONCE and if I unequip and re-equip it goes haywire and only gives an item upon equipping
-just doesn't do anything at all.
I'm probably missing something extremely simple but like my disclaimer says I'm a derp with this program (and in general). And yeah, I know I can produce these effects by spamming parallel processes all over my maps, but I'm using Khas Awesome Light Effects and well, you know. Lag. Trying to keep extra processes on maps to a minimum if at all possible. I've considered Tsukihime's Scene Interpreter may be causing a problem, but I need it to make one of my other on-equip events to trigger in the menu so I don't wanna remove it if I don't have to.