Help - Search - Members - Calendar
Full Version: Common event problems
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
DinShambles
First question i'm trying to make it so an item linked to a common event has a time limit then it shuts off the switch it activates and then shows a message saying the item is no longer working. either i can't event at all or i'm lacking sleep.

[Show/Hide] First problem


second i'm having trouble with the repel variable with Yerd Variable Encounters script just trying to figure out whats wrong also its tied to an item.
[Show/Hide] second problem


i'm usually good with eventing but variables and calling common events i get all confused. so any help with these would be splendid.
and sorry if these are covered somewhere i sifted through half the forums and didn't find much similar

Lyran
About your second problem...
I first thought that, if you wanted to use a repel after walking through a town(lets say 100 steps), it'd be impossible to use the repel. Maybe setting the Steps counter to 0 would work?

I'm gonna add more info as I continue on finding problems.
BasharTeg6
QUOTE (DinShambles @ Feb 23 2010, 01:01 AM) *
First question i'm trying to make it so an item linked to a common event has a time limit then it shuts off the switch it activates and then shows a message saying the item is no longer working. either i can't event at all or i'm lacking sleep.

[Show/Hide] First problem


It doesn't work because it will only shut off if the item is called, but when the item is called it resets the timer.

Put the timer and the other actions into a separate event on parallel process and run by a switch that gets turned on by this event (the one called by the item.) Make the common event tied to the item a catalyst that enables a switch which runs the second common event (with the timer.) When the timer reaches 1 sec or less, clear the switch.
DinShambles
thank you i got the first working great. forgot to remove the timer on the first test. but it looks great i might use more timed items just so the one doesn't look out of place.
still messing around with the second. tongue.gif
oh well trial and error, I find it's better to screw it up first rather then ask how to do something with out trying to do it yourself.
DinShambles
so i opted for a different script to variable call on the repel thing so if a mod could put this as solved that be great.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.