• 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] Whats wrong with this?

Status
Not open for further replies.
Level 2
Joined
Nov 19, 2008
Messages
11
Well i'm working on my maze map and i tested it, i spawned in the centre of the map not the check point
  • Defeat
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • (Number of living Demon Hunter units owned by Player 1 (Red)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 2 (Blue)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 3 (Teal)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 4 (Purple)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 5 (Yellow)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 6 (Orange)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 7 (Green)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 8 (Pink)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 9 (Gray)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 10 (Light Blue)) Equal to 0
          • (Number of living Demon Hunter units owned by Player 11 (Dark Green)) Equal to 0
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LifeCount Greater than or equal to 1
        • Then - Actions
          • Wait 1.00 seconds
          • Hero - Instantly revive Demon Hunter 0001 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0006 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0029 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0030 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0032 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0034 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0036 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0038 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0039 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0040 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Hero - Instantly revive Demon Hunter 0041 <gen> at (Random point in LevelOn[lvl]), Hide revival graphics
          • Set LifeCount = (LifeCount - 1)
          • Leaderboard - Change the value for Player 1 (Red) in (Last created leaderboard) to LifeCount
        • Else - Actions
          • Game - Display to (All players) for 30.00 seconds the text: YOU LOSE!
          • Trigger - Turn off (This trigger)
  • lvls
    • Events
    • Conditions
    • Actions
      • Set LifeCount = 10
      • Set lvl = 1
      • Set LevelOn[1] = Start <gen>
      • Set LevelOn[2] = Check Point1 <gen>
      • Set LevelOn[3] = CheckPoint2 <gen>
      • Set LevelOn[4] = CheckPoint3 <gen>
And i made a leaderboard which shows how many lives are left, it doesn't show that..uhh can anyone help out here?
 
Status
Not open for further replies.
Top