• 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.

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