The_Reaping
Member
- Reaction score
- 2
Okay, this is really bugging me.. I've searched around for threads on how to get a live system working and nothing has worked so far :/
What I have so far.
and then it's shown in a leaderboard with the trigger
The problem is, in the leaderboard, when a unit reaches the end zone.. Lives aren't removed from the total in the leaderboard.. Any ideas?
What I have so far.
Trigger:
- Losing Lives
- Events
- Unit - A unit enters Life Area <gen>
- Conditions
- (Owner of (Entering unit)) Equal to Player 5 (Yellow)
- Actions
- Set Lives = (Lives - 1)
- Unit - Remove (Entering unit) from the game
- Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Items\SpellShieldAmulet\SpellShieldCaster.mdl
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Entering unit)) Equal to Infernal
- Then - Actions
- Set Lives = (Lives - 3)
- Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Items\SpellShieldAmulet\SpellShieldCaster.mdl
- Unit - Remove (Entering unit) from the game
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Entering unit)) Equal to Mal'Girid
- Then - Actions
- Set Lives = (Lives - 5)
- Special Effect - Create a special effect at (Position of (Entering unit)) using Abilities\Spells\Items\SpellShieldAmulet\SpellShieldCaster.mdl
- Unit - Remove (Entering unit) from the game
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Events
and then it's shown in a leaderboard with the trigger
Trigger:
- Create Leaderboard
- Events
- Time - Elapsed game time is 5.00 seconds
- Conditions
- Actions
- Leaderboard - Create a leaderboard for (All players) titled <Empty String>
- Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Lives and value Lives
- Events
The problem is, in the leaderboard, when a unit reaches the end zone.. Lives aren't removed from the total in the leaderboard.. Any ideas?