Will This Work ??

Status
Not open for further replies.
Level 14
Joined
Nov 13, 2010
Messages
315
hey i made trigger for Last Standing Hero so my quested will it work
  • Last Standing Hero
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Owner of (Dying unit)) is in LastHeroStanding) Equal to (==) True
    • Actions
      • Player Group - Remove (Owner of (Dying unit)) from LastHeroStanding
        • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Number of players in LastHeroStanding) Less than or equal to (<=) 1
          • Then - Actions
            • Trigger - Turn off (This trigger)
            • Player Group - Pick every player in LastHeroStanding and do (Actions)
              • Loop - Actions
                • Player - Add 200 to (Picked player) Current gold
                • Quest - Display to Players the Hint message: (|cff00ccffLast Hero Standing|r - + (PlayerNames[(Player number of (Picked player))] + earns an additional 200 Gold.))
          • Else - Actions
 
You don't need this "Pick Every Player" because then block runs only if there's one more player left in region.
You can remove that picking and just move those 2 actions in then block and instead of picked player, refer to "(owner of(dying unit))

Yes this should work.
 
Status
Not open for further replies.
Back
Top