HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Leaderboard help

11-15-2002, 04:51 AM#1
Guest
How do u make a leaderboard that says how many tombs someone has used?
11-15-2002, 05:45 AM#2
The_Cyberdemon1
Make this the trigger:

Event:
----Unit - A unit owned by Player 1 acquires an item.
(Make one of these events for every player who is on the leaderboard)
Condition:
----Item Type - Item type of (item being manipulated) equal to (pick ur tomb)
Action:
----Set Variable - Set variable TOMBSUSED[(player number of (owner of (triggering unit)))] = TOMBSUSED[(player nubmer of (owner of (triggering unit)))] + 1

TOMBSUSED - An integer variable. Make sure its an array.

That is what will set the variables for the leaderboard.

Hope that helped at all! :D
11-15-2002, 07:00 AM#3
Guest
ok thanks it works fine now
11-15-2002, 08:36 AM#4
Guest
hi Z-Z i didnt know you posted at wc3campaigns. its me Dark_Peon:D