HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Leaderboard values

01-18-2009, 09:17 AM#1
holyadvocate
Always triggers properly once, and never does again....



Trigger:
Standard Time
Collapse Events
Time - Every 1.00 seconds of game time
Conditions
Collapse Actions
Collapse Player Group - Pick every player in PlayerGrp and do (Actions)
Collapse Loop - Actions
Leaderboard - Change the value for (Picked player) in TimerL to ((Position of (Picked player) in TimerL) + 1)
01-18-2009, 09:26 AM#2
akolyt0r
try to add a Debug Message above that GroupPick thing and one in the GroupPick-loop ...
and check which show up, and how often ...
01-18-2009, 08:28 PM#3
holyadvocate
The Debug appears as it should, the value is still stuck...
01-18-2009, 09:13 PM#4
Veev
Have you tried hiding and then showing the leaderboard again? Maybe something weird is going on. I know when I tried to sort a leaderboard before, I had to hide it and reshow it for the changes to take place.
01-18-2009, 09:15 PM#5
Ammorth
What are you trying to achieve? cause whatever it is, I don't think that trigger does what you think it does.
01-18-2009, 09:26 PM#6
holyadvocate
As the hero picks up the Banner, that player is added to PlayerGrp and the other player is removed. Every second, that player's count goes up

the first player to get to 100 wins...
01-18-2009, 09:46 PM#7
Veev
Oh and Ammorth is right, that trigger isn't going to do what you want. You need to update the value. Right now you're just setting the value to the Position of the Player + 1. You're going to need an integer variable that keeps track of the count.
01-18-2009, 11:17 PM#8
holyadvocate
of course


thank you