• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Trigger Question

Status
Not open for further replies.
Level 5
Joined
Jul 20, 2004
Messages
156
Alright, I want a gate to die when I kill a lever. Then I want the lever to reset. Then I want the gate to be ressurected when I kill the lever a second time. And I want that to repeat an infanite amount of times.
 
Level 21
Joined
Feb 14, 2004
Messages
3,311
Create a trigger (remember to have 2 regions already for the 2 destrictibles to spawn back)

Action - Destructible dies
Conditions - Destructible type equal to (lever1)
Actions - Close/Open/Destroy Gate - Destroy (gate1)
Wait 2 second
Create a (lever1) at (lever1resurrect)
Create a (gate1) at (gate1ressurect)
 
Level 5
Joined
Jul 20, 2004
Messages
156
Yeah but that takes me only to where the gate and the lever are ressurected. The lever gets ressurected and then I kill it and THEN the gate is ressurected.
 
Level 2
Joined
Jun 21, 2004
Messages
22
YOu need to make 2 trigers for this:
1. Event: Destructible dies(level)
Condicions:
Action: Triger - Turn of this triger
Triger - Turn on triger(2)
Destructible - Open gate(your gate)
Wait (1.00)seconds.
Destructible - Resurectdestructible (your lever)
(THIS TRIGER IS TURNER OFF BY DEFFAULTS)
2. Event: Destructible dies(level)
Condicions:
Action: Triger - Turn of this triger
Triger - Turn on triger(1)
Destructible - Close gate(your gate)
Wait (1.00)seconds.
Destructible - Resurectdestructible (your lever)



Well that is it if you want it to look good ad there also some gate open and close sound.
 
Status
Not open for further replies.
Top