• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Why this trigger don't work?

Status
Not open for further replies.
Level 2
Joined
May 26, 2011
Messages
14
  • Rolling Stone Door 1
    • Events
      • Unit - A unit enters Rolling Stone Door Trigger 1 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set Temp_Integer[1] = (Temp_Integer[1] + 1)
      • Set Temp_Point[1] = (Position of Foot Switch 0238 <gen>)
      • Sound - Play Switch <gen> at 100.00% volume, located at Temp_Point[1] with Z offset 100.00
      • Destructible - Kill Foot Switch 0238 <gen>
      • Destructible - Open Destructible_RollingStoneDoor[1]
      • Countdown Timer - Start Temp_Timer[1] as a One-shot timer that will expire in 4.00 seconds
      • Custom script: call RemoveLocation(udg_Temp_Point[1])
      • Trigger - Turn on Rolling Stone Door Spider Loop 1 <gen>
      • Trigger - Turn off (This trigger)
Edit: This is very simple trigger, jet it doeasn't work. Any1 know why?
 
Level 2
Joined
May 26, 2011
Messages
14
You see, the Hero should enter specific region to start the ''main'' trigger, but when he enters' nothing happends.
I'm trying to find reason that makes all this to malfunction, but I can't -.-

This is ''main'' trigger:
  • Rolling Stone Door 1
    • Events
      • Unit - A unit enters Rolling Stone Door Trigger 1 <gen>
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set Temp_Integer[1] = (Temp_Integer[1] + 1)
      • Set Temp_Point[1] = (Position of Foot Switch 0238 <gen>)
      • Sound - Play Switch <gen> at 100.00% volume, located at Temp_Point[1] with Z offset 100.00
      • Destructible - Kill Foot Switch 0238 <gen>
      • Destructible - Open Destructible_RollingStoneDoor[1]
      • Countdown Timer - Start Temp_Timer[1] as a One-shot timer that will expire in 4.00 seconds
      • Custom script: call RemoveLocation(udg_Temp_Point[1])
      • Trigger - Turn on Rolling Stone Door Spider Loop 1 <gen>
      • Trigger - Turn off (This trigger)
The main trigger should activate this ''secondary(Initially off)'' trigger:
  • Rolling Stone Door Spider Loop 1
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set Temp_Point[3] = (Random point in Rolling Stone Door Neutrals 1 <gen>)
      • Sound - Play EggSackDeath1 <gen> at 100.00% volume, located at Temp_Point[3] with Z offset 100.00
      • Unit - Create 3 Spider for Neutral Hostile at Temp_Point[3] facing (Random angle) degrees
      • Special Effect - Create a special effect at Temp_Point[3] using Objects\Spawnmodels\Demon\DemonLargeDeathExplode\DemonLargeDeathExplode.mdl
      • Special Effect - Destroy (Last created special effect)
      • Custom script: call RemoveLocation(udg_Temp_Point[3])
Then, when the timer from ''main'' trigger expire this trigger should deactivate ''secondary'' trigger.
  • Rolling Stone Door Spider Loop Off 1
    • Events
      • Time - Temp_Timer[1] expires
    • Conditions
    • Actions
      • Trigger - Turn off Rolling Stone Door Spider Loop 1 <gen>
 
Level 2
Joined
May 26, 2011
Messages
14
I was wondering about that, maybe that is problem... Trying now.
Edit: Nope, I removed sound action, still doesn't work -.-
F**K!! -.-
 
Status
Not open for further replies.
Top