env_state
#
A simpler alternative to multisource, can be used as master to lock some entities.
Reaction to use-type #
- Handles use-type to change its internal state.
- When going to
Offstate theenv_statefires itsTargetwithOffuse-type and itsFire when turned offwithToggleuse-type. - When going to
Onstate theenv_statefires itsTargetwithOnuse-type and itsFire when turned onwithToggleuse-type. - If state doesn’t change, no triggers will fire.
Master capability #
The internal state is reported. When env_state is Off, it acts as lock. When env_state is On, it unlocks dependent entities.