latest core

Do you happen to know how to take one placed event and copy it to make 5 , then change one to turn off the others



in depth im trying to have an event surronding the character and when he/she walks into the event all the others are cancelled


ive tried things like settinga var -1
walks into event event changes to var 1 and the events i programmed active for var -1 or still active on var 1 which is beyond me at the moment.
Control switch on activates them and control switch off to deactivate them all.

For instance Control Switch named stepoff

when you step on any of the squares surrounding them make it turn that control switch off.

The control switch gets activated on before that by something else.

Edit: The control switch should be a condition for the events on the tiles that you walk on, so when it is stepped on and turned off it gets rid of the events.
Control switch on activates them and control switch off to deactivate them all.

For instance Control Switch named stepoff

when you step on any of the squares surrounding them make it turn that control switch off.

The control switch gets activated on before that by something else.

Edit: The control switch should be a condition for the events on the tiles that you walk on, so when it is stepped on and turned off it gets rid of the events.
@Julijewels In the first sentence, you speak of two control switches, correct to control the on part and the off part.
Testing now, thank you.
@Julijewels In the first sentence, you speak of two control switches, correct to control the on part and the off part.
It would be a single switch. Each event in that set would have a conditional for [if switch A is on, do this] and [else, don't do this], then just turn the switch on as part of 'do this,' which would disable the other events and stop the first from being activated again.
@julie
Testing now, thank you
Control switch on activates them and control switch off to deactivate them all.

For instance Control Switch named stepoff

when you step on any of the squares surrounding them make it turn that control switch off.

The control switch gets activated on before that by something else.

Edit: The control switch should be a condition for the events on the tiles that you walk on, so when it is stepped on and turned off it gets rid of the events.
Thank you, Julijewels. I accomplished my goal. The simplest of things elude me.
Thank you also BenSd i saw the post late.

while test
It would be a single switch. Each event in that set would have a conditional for [if switch A is on, do this] and [else, don't do this], then just turn the switch on as part of 'do this,' which would disable the other events and stop the first from being activated again.
While testing i found out to only use one, and name it accordingly to ???ON/OFF which is approiate, thank you both.

laymans term

created event
control Switches:#0013 StepOn/OFF = ON
Control Self Switch: A = ON
Priority Below characters
Trigger Action Button
Event page 2
Self Switch A (Checked)
2nd created event
Conditions Switch (Checked)0013 Step/OFF
txt
Control Switches: #0013 StepOn/OFF
Just a heads up, but you might want to avoid double or triple posting; you can always edit your last post if you have more to add. Glad it's working 🙂

Edit: I just noticed you're also using self switches; you really don't need those or the second switch. You can do all of what you need on a single switch with the same setup.

@2934c37 , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

I've merged your posts this time.

Original thread: https://forums.rpgmakerweb.com/threads/latest-core.148189/