• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Just need somone simple things answerd

Status
Not open for further replies.
Level 3
Joined
Sep 23, 2005
Messages
49
i want to know how to change the color of words and how to make a like leader bored that says ur name lvl and amount of kills
 
Level 6
Joined
Sep 17, 2005
Messages
276
1) to change the color of texts use the command |cxxxxxx00 <text>|r and for the x use values from a-f and 0-9. what the single colors are... figure it out :wink: .

2) the multiboard:

TRIGGER 1 CREATE MULTIBOARD

Code:
EVENT: 
time - elapsed game time = 0.01 seconds

ACTIONS: 
Multiboard - Create a multiboard with 2 columns and X rows, titled <your text>
For each (Integer A) from 1 to X, do (Actions)
    Loop - Actions
        Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to Name of Player(Integer A)

        Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to string(Player(Integer A)-current lumber **

        Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 10.00% of the total screen width

        Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 10.00% of the total screen width

        Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons

        Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons


** if you have the kills stored in player lumber do so.... if you stored in variable insert your variable here (best is an array variable here btw)

X is the amount of players you have max.



TRIGGER 2 REFRESH MULTIBOARD

Code:
EVENT:
time - periodic event check every 5 seconds

ACTIONS:
For each (Integer A) from 1 to X, do (Actions)
    Loop - Actions
        Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to Player(Integer A)-current lumber **


EDITED: oh and i forgot implement levels uhm.... well add a third column like above.
 
Level 3
Joined
Sep 23, 2005
Messages
49
Thanks a bunch

thanks this is going to help alot but ummm lol
i know not one thing about variables except there really complincated... soo yeah a lil more detail or somethign plzzz XD
 
Level 3
Joined
Sep 23, 2005
Messages
49
Well i tried the trigger it didnt quit work though
i had to set it to player 1 (red)
and it wouldnt say how much lumber or lvl just Player(interger..etc..
soo yeah could you help me?
my gamne is only going to have 6 players with heros(each player will have 1 hero)
so yes if you could help me
 
Level 6
Joined
Sep 17, 2005
Messages
276
well, i think i forgot sth in my trigger showed above: in trigger create multiboard you have to use a command like multiboard - show multiboard to player (integerA).

hm... i dont know the exactly function, because i havent WEU at moment - you have to search a bit :wink: .

another thing: make sure you dont use LEADERBOARDS. what you need is (correct me if im wrong) MULTIBOARDS.

then the above triggers should work correctly.

EDIT: BTW on this link SHOULD be some tutorials for creating multiboards:
http://www.wc3sear.ch/viewforum.php?f=14

EDIT2: well, i correct myself - you dont need multiboard. for that what u need a leaderboard from normal WE is useable.

and i found an unprotected map where u can learn or copy the triggers for leaderboard. there is exactly what u need.
i searched a bit and found it in map section:
http://www.wc3sear.ch/?p=Maps&ID=6420

EDIT 2958348.... : and dont forget to copy the trigger where is detected when a unit is killed >> then give lumber to owner of killer.


this should help ya very well :)
 
Level 3
Joined
Sep 23, 2005
Messages
49
thanks this is going to help out alot
but i cant read german XD
and the leaderbored only shows one thing right
id have to learn how to use a muiltibored if i wanted lvl and kills huh
 
Level 6
Joined
Sep 17, 2005
Messages
276
EmoEnigma said:
and the leaderbored only shows one thing right id have to learn how to use a muiltibored if i wanted lvl and kills huh

well when you started the topic, you did only say you need name and kills. :wink:
 
Status
Not open for further replies.
Top