HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

leader board help food?

02-20-2004, 10:24 PM#1
Crimsongg137
ok i think im stupid but im hopin u guys can help me.. ok any way im makin a leader board that shows each players food used.. i have the players layed out and all but i dont no how to change the value for the players to show there food.
02-20-2004, 10:38 PM#2
Shimrra
You can use multiboards to show food, gold, lumber, or any combination of the three. Here's a link to a nice multiboard made by Hiro. Download the one at the bottom. Hiro's Multiboard
02-20-2004, 10:43 PM#3
Crimsongg137
well i have a trigger but not sure if it works can u check it out
FOOD
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Set Food = ((Picked player) Food used)
Leaderboard - Change the value for (Picked player) in (Last created leaderboard) to Food
LEADER
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Amount Of Power
Leaderboard - Show (Last created leaderboard)
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Player Group - Pick every player in (All players) and do (If (((Picked player) slot status) Equal to Is playing) then do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0) else do (Do nothing))
02-20-2004, 11:23 PM#4
Hunter0000
Quote:
Originally posted by Crimsongg137
Player Group - Pick every player in (All players) and do (If (((Picked player) slot status) Equal to Is playing) then do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0) else do (Do nothing))


Change 0 to player property-picked player's current food.
02-20-2004, 11:25 PM#5
Shimrra
I would suggest setting the event so that it triggers when a unit is built, so it will be updated as soon as the unit comes.