wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 7:59 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: July 11th, 2009, 12:30 am 
Offline
Senior Member
User avatar

Joined: July 4th, 2009, 12:00 am
Posts: 123
Title: Pandaren-Assassin
Instead of asking you to do the triggering for me, I've tried to do it myself and I'm posting it here so someone could check if it's right or if it needs adding or improving.

1) When a person leaves.
Spoiler:
Leavers
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Multiboard - Set the text for (Last created multiboard) item in column 1, row (Player number of (Triggering player)) to ((|cffA2B5CD + (Nam...


For the one above, I want when someone leaves, it should say <left> in the multiboard.

2) Player Colours: I want the players colours to show on the multiboard because right now, my multiboard only shows their name and kills
Spoiler:
Player Colours
Events
Map initialization
Conditions
Actions
Set PlayerColours1 = ((|cffFF0000 + (Name of Player 1 (Red))) + |r)
Set PlayerColours2 = ((|cff0000FF + (Name of Player 2 (Blue))) + |r)
Set PlayerColours3 = ((|cffFF0000 + (Name of Player 3 (Teal))) + |r)
Set PlayerColours4 = ((|cffFF0000 + (Name of Player 4 (Red))) + |r)
Set PlayerColours5 = ((|cffFF0000 + (Name of Player 5 (Red))) + |r)
Set PlayerColours6 = ((|cffFFFF00 + (Name of Player 6 (Orange))) +|r
Set PlayerColours7 = ((|cffFF0000 + (Name of Player 1 (Red))) + |r)
Set PlayerColours8 = ((|cffFF80FF + (Name of Player 8 (Pink)))+|r)
Set PlayerColours9 = ((|cffFF0000 + (Name of Player 1 (Red))) + |r)
Set PlayerColours10 = ((|cffFF0000 + (Name of Player 1 (Red))) + |r)


3) The last thing is to show the saves the players have but, not much success with it.

_________________
"A unit of time is as precious as a unit of gold, but you cannot don't click me back one unit of time with one unit of gold."

Thanks for all the help Syre!


Top
 Profile  
 
PostPosted: July 11th, 2009, 12:47 am 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
PM me a blank map, that has the multiboard triggers, along with your save trigger. Ill get it working for ya.

_________________
Image


Top
 Profile  
 
PostPosted: July 17th, 2009, 11:19 am 
Offline
Member
User avatar

Joined: April 7th, 2007, 2:39 am
Posts: 86
if you mean, when a player types -save it shows them how many times they have saved this game then it would be somthing like this, Its the same as a death/kill multiboard, you just add a nother colum that says Saves, then when a player types -save it increases the number in the save colum by 1 for the triggering player.

Code:
Events
    Player - Player 1 (Red) types a chat message containing -save as An exact match
Conditions
    (Number of units in (Units owned by (Triggering player))) Greater than or equal to 1
Actions
    Set Player_Save[(Player number of (Triggering Player))] = (Player_Save[(Player number of (Triggering Player)))] + 1)


The condition isnt needed, its just good to have incase some idiot is spamming -save before he even has a hero. that condition would only work if its a herotype map where a player only has 1 or more heros.

_________________
Image
WhiteSkidMaul Wars
~Now Gone Superspeed!~


Top
 Profile  
 
PostPosted: July 17th, 2009, 4:55 pm 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
We already got this working, he simply wanted the number of times saved as a column.

_________________
Image


Top
 Profile  
 
PostPosted: July 17th, 2009, 6:27 pm 
Offline
Member
User avatar

Joined: April 7th, 2007, 2:39 am
Posts: 86
oh, my bad.

_________________
Image
WhiteSkidMaul Wars
~Now Gone Superspeed!~


Top
 Profile  
 
PostPosted: July 17th, 2009, 9:11 pm 
Offline
Forum Staff
User avatar

Joined: August 5th, 2007, 1:38 pm
Posts: 507
Location: *Unknown*
Title: Gui Expert
Still need help? If so let me know.


Top
 Profile  
 
PostPosted: July 18th, 2009, 7:35 am 
Offline
Senior Member
User avatar

Joined: July 4th, 2009, 12:00 am
Posts: 123
Title: Pandaren-Assassin
No need for the help Arabidnun, but thanks for the offer. :D Most of it is solved and just learning how to pimp it up some more.

_________________
"A unit of time is as precious as a unit of gold, but you cannot don't click me back one unit of time with one unit of gold."

Thanks for all the help Syre!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)