| 05-13-2008, 04:39 PM | #1 |
anyone knows how to make a victory condition that works "when all other players are defeated/left the game"? p.s i wanted to ask but i dont know where is there a limit to the amount of rep a person can give? |
| 05-13-2008, 05:48 PM | #2 |
Third post here and you are still posting questions about script in General development -.- Your question is not about Victory.. just about how to know if you player left or defeated. Easy, create 2 triggers ( 1 when a player leave, 1 when a player is defeated) (or just 1 if you make leave the player who is defeated ). Add a condition, if trigger execution of the 2 triggers = player in game at start -1 then Victory ( for all .. we don't care, he is alone now ^^ ) Just an idea, u can think about a lot of idea. |
| 05-13-2008, 06:30 PM | #3 |
i searched in wc3c and found this thread http://wc3campaigns.net/showthread.p...hlight=victory so i found my trigger although it's kinda long i didn't know it's wrong to ask trigger qustions here you are the first one to comment me about it next time i will post it at trigger forum |
| 05-13-2008, 10:35 PM | #4 |
This trigger won't help a lot for you ^^ |
| 05-14-2008, 04:57 AM | #5 |
it works but i need a trigger for each player (8 triggers) |
| 05-14-2008, 07:34 AM | #6 |
It works only for leaving player... |
| 05-14-2008, 10:23 AM | #7 |
i added a condition for defeat |
| 05-14-2008, 11:47 AM | #8 |
Condition ? There is a difference between a player left not defeated and a player left and defeated ? |
| 05-14-2008, 02:11 PM | #9 |
sry i meant event not condition. the event i have is player 1 leaves game, player 1 is defeated, player 2 leaves game ... i dont know if there's a difference between them but just in case i added both |
