• 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] Gates don't work properly

Status
Not open for further replies.
Level 4
Joined
Dec 12, 2012
Messages
96
This should be very simple but I can't figure out why I always get a bug with opening/closing gates. The only problem I encounter is that the gates sometimes close before they're supposed to.

Gate North
  • Gate North
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Set GateNorth = Demonic Gate (Vertical) 6832 <gen>
      • Destructible - Make GateNorth Invulnerable
      • Trigger - Turn on Gate North Open and Close <gen>
      • Trigger - Run Gate North Open and Close <gen> (ignoring conditions)
>Not initially on
  • Gate North Open and Close
    • Events
    • Conditions
    • Actions
      • Set GateNorthRan_1 = (Random real number between 30.00 and 300.00)
      • Wait GateNorthRan_1 seconds
      • Destructible - Open GateNorth
      • Game - Display to (All players) for 5.00 seconds the text: |cff00ff00THE NORTH...
      • Set GateNorthRan_2 = (Random real number between 30.00 and 300.00)
      • Wait GateNorthRan_2 seconds
      • Destructible - Close GateNorth
      • Game - Display to (All players) for 5.00 seconds the text: |cfff4a460THE NORTH...
      • Trigger - Run (This trigger) (checking conditions)
  • Gate South
    • Events
      • Time - Elapsed game time is 2.00 seconds
      • Conditions
      • Actions
        • Set GateSouth = Elven Gate (Vertical) 6833 <gen>
        • Destructible - Make GateSouth Invulnerable
        • Trigger - Turn on Gate South Open and close <gen>
        • Trigger - Run Gate South Open and close <gen> (ignoring conditions)
>Not initially on
  • Gate South Open and close
    • Events
    • Conditions
    • Actions
      • Set GateSouthRan_1 = (Random real number between 30.00 and 300.00)
      • Wait GateSouthRan_1 seconds
      • Destructible - Open GateSouth
      • Game - Display to (All players) for 5.00 seconds the text: |cff00ff00THE SOUTH...
      • Set GateSouthRan_2 = (Random real number between 30.00 and 300.00)
      • Wait GateSouthRan_2 seconds
      • Destructible - Close GateSouth
      • Game - Display to (All players) for 5.00 seconds the text: |cfff4a460THE SOUTH...
      • Trigger - Run (This trigger) (checking conditions)
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
how do you know when theyre opening and closing when theyre not spsed o if its random
 
Level 4
Joined
Dec 12, 2012
Messages
96
There are texts that shows up whenever there are changes in gates and they happen at the same time. But sometimes, the text shows up couple of seconds away before the gate even closes, or even sometimes minutes away.
 
Status
Not open for further replies.
Top