#Are there any triggers/entities to reset Switch Gates?

30 messages · Page 1 of 1 (latest)

novel wigeon
#

I have a room where I want to reset a Switch Gate, and as far as I can find there's no way to with vanilla items. Are there any custom placements that can do this?

sterile sail
#

What do you mean exactly?

You can use Flag trigger and Flag switchgate (from maddieHelpingHand)
If flag is true, the switchgate will move. If the flags gets false again, the switchgate comes to its initial placement

novel wigeon
teal chasm
#

imagine a light switch; you can turn it on and off, and it has a label on it. that's basically what a flag is; a named switch you can turn on and off (aka set and unset/clear)
various entities can look at it and determine what to do based on the state of said switch, or manipulate it

#

a flag touch switch sets a flag with a given name (aka flips it on) once all touch switches with the same flag name are collected
then you can configure a flag switch gate to the same flag name as the touch switches to make it work

#

going through a room transition resets the switch gate, making it the easiest option

#

i'm not sure if it works without room transitions

novel wigeon
teal chasm
#

just make sure the Flag field in the touch switches and switch gates is the same

#

since you want them to be controlled by the same flag

novel wigeon
#

Well that's definitely useful, but not what I need

#

I need to make the Switch Gates move back to their original position

teal chasm
#

you could put a flag trigger where you want the switch gates to reset

#

and unset the flag (aka switch it off)

#

and hopefully this should cause the switch gate to reset to its starting position

#

im not sure if it requires a room transition to update

novel wigeon
#

ahh

#

I'll try that then

teal chasm
#

the flag trigger is from everest

#

the flag switch gates/touch switches are from maddie's helping hand

#

to declare dependencies properly you need to have your mod packaged properly, which you probably did by now laugheline

novel wigeon
#

Yup, I got it packaged now

teal chasm
#

when saving you should see "detected missing dependencies, would you like to open the dependency window?" if you use stuff from a mod that isn't in your everest.yaml

novel wigeon
#

Yeah, that's what's happening

teal chasm
#

just add it to the dependency list and make sure your mod is enabled, else it won't load

novel wigeon
#

after adding the flag trigger, the switch gate just never returns

#

Using Xaphan Helper's "Reset Flags" does turn the flag off, but requires a room update, which I would like to avoid if possible

#

Okay nevermind, just had to check a few boxes for the switch gate and touch switch flags and it's all working great now

#

Thanks for the help!