Sorry for another interruption but i was wondering how i make doors open in game such as the doodad door in installation
Using the trigger SET DOODAD STATE on doors will cause them to open/close.
TRIGGER: Closing the door
CONDITIONS:
‹player› brings ‹quantity› ‹unit› to ‹location›
‹switch› is «set»
ACTIONS:
«Enable» doodad state for ‹door› for «All Players» at ‹location›
«Clear» ‹switch›
Preserve Trigger
TRIGGER: Opening the door
CONDITIONS:
‹player› brings ‹quantity› ‹unit› to ‹location›
‹switch› is «cleared»
ACTIONS:
«Disable» doodad state for ‹door› for «All Players» at ‹location›
«Set» ‹switch›
Preserve Trigger
why are u usin switch's on it?
If I didn't use a switch, there would be some times when the door is closed already, and the conditions for closing it come true. Then the door jumps open without any intermediaate graphic, and closes. The converse is true for opening a door. Using switches prevents this unnecessary annoyance.
UED77
CONDITIONS:
‹player› brings ‹0› ‹unit› to ‹location›
ACTIONS:
«Enable» doodad state for ‹door› for «All Players» at ‹location›
Preserve Trigger
CONDITIONS:
‹player› brings ‹1› ‹unit› to ‹location›
ACTIONS:
«Disable» doodad state for ‹door› for «All Players» at ‹location›
Preserve Trigger
i tought when usin that worked fine too, can u tell if im wrong? so ill start usin ur sistem
Without the switch, the door will constantly close when you aren't there and constantly open when you are causing huge problems.