• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Trigger problem

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, once i died it respawned me 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)
And these are the places were they should respawn
  • 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