#Are there any triggers/entities to reset Switch Gates?
30 messages · Page 1 of 1 (latest)
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
I am really new to this, so I don't know how to use flags. But what I am trying to do is returning Switch Gates to their original position after they have been activated by a Touch Switch (The coins)
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
Is this any different than just using regular Touch switches and Touch gates?
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
Well that's definitely useful, but not what I need
I need to make the Switch Gates move back to their original position
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
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 
Yup, I got it packaged now
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
Yeah, that's what's happening
just add it to the dependency list and make sure your mod is enabled, else it won't load
I think I've done everything right, but this is not what's happening
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!