HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help... Plz? (Trigs)

08-20-2002, 04:40 AM#1
Guest
Well... I was a famous Starcraft mapmaker (under too many different names, unfourtunately) and was a trigger master. I know many types of programming, and thought that the WC3 trigging would come easily to me. It did not =þ ... So... here's my question:

How would I go about making a Leaderboard that started on initialization of the map that displayed the amount of lumber each player had. There will be 8 players... and the lumber will serve as mana........... Help please?
08-21-2002, 11:53 AM#2
Draco
Okay, here ya' go!

EVENT - Time elapsed is o seconds (Note - stay away from "map initialization as much as you can ;) )

ACTIONS:

Leaderboard - Create a Leaderboard titled (X)

Set Variable - Set "leaderboard' to last created leaderboard

Leaderboard - Add player (Y) to 'leaderboard"

-----

EVENT - Periodic - Every 2 Seconds.

ACTION - Leaderboard - Change player (y)'s value to the function "Player - Property (current lumber)

----

Hope that's simple enough for you. Good Luck
08-21-2002, 12:26 PM#3
Guest
I just wasnt aware of the player property doohickey.... =P Thanx a million....

-Apoc (A dumbshit)