We met on Yahoo Answers, you told me to post it up here.
So, I've set 'pickedplayer' to random(all players)
I want it so that when 'pickedplayer' loses the game, everyone else will win.
How do I victory everybody else when phantom player is defea
Forum rules
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.
Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.
Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.
Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
Before making a new topic:
First, check if your question has already been answered in the Tutorials section.
If you didn't find a solution, use the search function.
If searching didn't help either, you can make a new topic.
Topic title & content:
You must use a descriptive title. (Help plz is not good) (Need help with Dialog buttons is good)
Go into much detail when posting. You should post attachments. Like screenshots of the problem, the map you are making, replays of the error. Or you could even make a screencast (video) of your problem and upload it here.
Spelling:
Grammar seems to be a serious problem amongst teenagers, so use a spell checker or you will get no love.
Read your posts twice, before pressing the reply button.
And do not use profanity. Chatspeak (y r u nub) and Leetspeak (1 C4N S33 H4X) are not welcome here either.
Only World Editor related questions are allowed here!
(Click for Battle.net help) (Click for World Editor help)
-
- Posts: 2
- Joined: Mon Feb 09, 2009 5:26 pm
How do I victory everybody else when phantom player is defea
- Attachments
-
- PhantomA.w3x
- (228.09 KiB) Downloaded 593 times
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: How do I victory everybody else when phantom player is defea
Solution:
Player Group - Pick every player in (All players) and do (If ((Picked player) Not equal to pickedplayer) ...
... then do (Game - Victory (Picked player) (Show dialogs, Show scores)) else do (Do nothing))
http://answers.yahoo.com/question/?qid=20090208093552AA0A9Y2
Sorry, but I have to say your map is terribly unbalanced. (Great game idea though!)
The phantom is revealed in the 5th second of the game, making it super easy to cooperatively rush him before he gets a chance of amassing his defenses. (Unless nobody scouted him.)
But should he magically survive the first rush, he will have 1 million gold and lumber forever (+5000 a sec), making it impossible to defeat him later.
Therefore I suggest you lower his income and give him a defensive unit/aura/whatever through this trigger:
Unit - Create 1 Defensive Unit for pickedplayer at (pickedplayer start location) facing 0.00 degrees
More suggestions:
Random Selection should be merged with Melee Initialization since they both share the event: Map initialization
Reveal should be repeated a few times just to make sure everyone catches the message. Creating a quest would help:
Quest - Create a Required quest titled Who's the phantom? with the description ((Name of pickedplayer) + is the phantom!), using icon path Phantom.blp
You should rename the variable pickedplayer to phantom. Makes more sense that way.
You should delete the variable Defeat. It is not used. (The other variables are mostly useless as well.)
Player Group - Pick every player in (All players) and do (If ((Picked player) Not equal to pickedplayer) ...
... then do (Game - Victory (Picked player) (Show dialogs, Show scores)) else do (Do nothing))
http://answers.yahoo.com/question/?qid=20090208093552AA0A9Y2
Sorry, but I have to say your map is terribly unbalanced. (Great game idea though!)
The phantom is revealed in the 5th second of the game, making it super easy to cooperatively rush him before he gets a chance of amassing his defenses. (Unless nobody scouted him.)
But should he magically survive the first rush, he will have 1 million gold and lumber forever (+5000 a sec), making it impossible to defeat him later.
Therefore I suggest you lower his income and give him a defensive unit/aura/whatever through this trigger:
Unit - Create 1 Defensive Unit for pickedplayer at (pickedplayer start location) facing 0.00 degrees
More suggestions:
Random Selection should be merged with Melee Initialization since they both share the event: Map initialization
Reveal should be repeated a few times just to make sure everyone catches the message. Creating a quest would help:
Quest - Create a Required quest titled Who's the phantom? with the description ((Name of pickedplayer) + is the phantom!), using icon path Phantom.blp
You should rename the variable pickedplayer to phantom. Makes more sense that way.
You should delete the variable Defeat. It is not used. (The other variables are mostly useless as well.)
-
- Posts: 2
- Joined: Mon Feb 09, 2009 5:26 pm
Re: How do I victory everybody else when phantom player is defea
Thank, all those variables are from before. I planned to make a vote, but I decided not to and forgot to delete them.
Also, I put the 5 seconds and +5000 gold so when I'm testing the game I can see the trigger working clearer and get back to editing.
Anyways thanks a lot.
Also, How do I make it say the player plus his color.
So if the Phantom was red then it would be "Computer(in red) is the phantom"?
Also, I put the 5 seconds and +5000 gold so when I'm testing the game I can see the trigger working clearer and get back to editing.
Anyways thanks a lot.
Also, How do I make it say the player plus his color.
So if the Phantom was red then it would be "Computer(in red) is the phantom"?
Last edited by 3ICE on Wed Feb 11, 2009 2:01 am, edited 1 time in total.
Reason: Don't doublepost.
Reason: Don't doublepost.
- 3ICE
- Admin
- Posts: 2631
- Joined: Sat Mar 01, 2008 11:34 pm
- Realm: Europe
- Account: 3ICE
- Clan: 3ICE
- Location: Hungary
- Contact:
Re: How do I victory everybody else when phantom player is defea
Pretty simple
I have always used a JASS function I wrote back in 2007 to color player names directly. So I never have to care for color coding any message.
But since you don't seem like a JASSer, you can do this with GUI: (It's in pseudocode, because my editor isn't open atm.
Red:Blue:Brown:More about colors in war3: http://www.3ice.hu/blog/warcraft-color/#playercolors
I have always used a JASS function I wrote back in 2007 to color player names directly. So I never have to care for color coding any message.
But since you don't seem like a JASSer, you can do this with GUI: (It's in pseudocode, because my editor isn't open atm.
Red:
Code: Select all
if (phantom == red) then {
sendMessage ("|cffff0000" + getName(red) + "|r is the phantom!")
}
Code: Select all
if (phantom == blue) then {
sendMessage ("|cff0000ff" + getName(blue) + "|r is the phantom!")
}
Code: Select all
if (phantom == brown) then {
sendMessage ("|cff552200" + getName(brown) + "|r is the phantom!")
}
Who is online
Users browsing this forum: No registered users and 32 guests