Common Event/Alarm

Is a common event the best way to have an alarm go off in multiple maps? have an alarm go off and cut off BGM and have a sound effect of an alarm? or would it be BGS for alarm?
You wouldn't use BGS for an alarm, unless you wanted it to repeat.  As for whether a common event is best, what's the reason for having it on several maps?  What's the trigger for the alarm going off?  If you want the alarm to repeat and continue as you go from one map to another, you might have issues if you have BGM/BGS set on the map - that would stop the alarm.


You may need to provide more information so an answer can be given that will suit your requirements.
Yes. Lets say you have an army base. alarms go off. you gotta search the base. all the lights flicker and the alarm sound for each room the base has
yes, in that case I'd use a BGS for a continual alarm.


On the maps you can travel to while the alarm is sounding, you will need to remove the BGS from the map properties and uncheck the Autoplay BGS box.  This means the alarm will not end when you go from one map to another.  Then create an event on each of those maps that has two pages.  The first page will have no conditions, will be set to parallel process, and will do a Play BGS with the regular BGS for that map (if there is one), followed by Erase Event.  The second page will use a switch as a condition and have no other changes.  The switch should be turned on when the alarm first starts, and off when the alarm is turned off.  That means, while the alarm is on, none of those maps will replace the alarm with their own BGS.  But if the alarm is off, each of those maps will play their own BGS.
thanks shaz!
so i shouldnt use a common event? cause the siren lights should be turned on also
why would you want a common event?  What would you put in it?  Once you set a BGS, it stays there until a map changes forces it to stop (which we've just ensured won't happen), or until you tell it to stop.  


Siren lights, I imagine, are just events?  Give them a page with a switch to turn them on, and set them to stepping animation.  Unless you've got screen flashes as well - in that case a common event might be needed.


psst ... don't double post - edit your post instead.

Original thread: https://forums.rpgmakerweb.com/threads/common-event-alarm.65713/