Hello im making a trigger for closing and opening a door with a single lever destructible. So far I can make it open only or close within a wait trigger. How can I make it work? Also it would be nice if the trigger had a condition that only players from force 1 (1 to 10) can open the gate with the lever and with force 2 attacking the lever wont do anything.
-
Gate
-

Events
-


Destructible - Lever 0005 <gen> dies
-
-

Conditions
-

Actions
-


Destructible - Open Dungeon Gate (Horizontal) 0006 <gen>
-


Destructible - Resurrect Lever 0005 <gen> with (Max life of (Last created destructible)) life and Show birth animation
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Dungeon Gate (Horizontal) 0006 <gen> is dead) Equal to True
-
-



Then - Actions
-




Destructible - Close Dungeon Gate (Horizontal) 0006 <gen>
-




Trigger - Add to (This trigger) the event (Destructible - Lever 0005 <gen> dies)
-
-



Else - Actions
-
-
-
-
/TRIGGER]
-
[/SPOILER]



