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

[Solved] Trouble adding event to trigger

Status
Not open for further replies.
Level 4
Joined
Jan 19, 2008
Messages
69
Hey I'm trying to add an event to another trigger but I can't seem to get it working. The strange thing is that I've used the "Trigger - Add New Event" function tons of time where it would work without issues... anyways this is the trigger:

  • Map Start
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Destructible - Kill Power Fence 0103 <gen>
      • Destructible - Kill Power Fence 0104 <gen>
      • For each (Integer A) from 1 to INTEGER_PlayerCount, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) slot status) Equal to Is playing
            • Then - Actions
              • Unit - Create 1 Wisp for (Player((Integer A))) at POINT_Spawn facing Default building facing degrees
              • Set UNIT_Wisp[(Integer A)] = (Last created unit)
              • Set REAL_VerticalSpeed[(Integer A)] = 3.00
              • Game - Display to (All players) the text: (Name of UNIT_Wisp[(Integer A)])
              • Trigger - Add to TRIGGER_Collision[(Integer A)] the event (Unit - A unit comes within 115.00 of UNIT_Wisp[(Integer A)])
            • Else - Actions
      • Special Effect - Create a special effect at POINT_Spawn using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
      • Special Effect - Destroy (Last created special effect)
      • Trigger - Turn on Camera System <gen>
      • Trigger - Turn on Jump <gen>
EDIT: Yea that worked deathismyfriend, thanks.
 
Last edited:
Status
Not open for further replies.
Top