how do i make a gate open when a lever is attacked? also the lever should work both ways and have a "cooldown" b4 it should work again. what triggers would i use to do this?
The lever should be destructible. Using triggers, make when the destructible dies, the action will be opening the gate. Also, a wait feature to create another lever after its activated.
Better reviving the lever (admit variables to gate and lever, works best) Didn't test this trigger, but it should work (not the best, but an easy solution)
Events Destructible - [Your Lever] dies Conditions Actions Destructible - Open [Your Gate] Wait 20.00 seconds Destructible - Close [Your Gate] Destructible - Resurrect [Your Lever] with (Max life of [Your Lever]) life and Hide birth animation