Hiya, I tried alot but I couldnt get it to work:
I want to create a victory condition that you die without units( like melee)
I couldnt use melee rules since units wont gain experience like that.....
Hiya, I tried alot but I couldnt get it to work: I want to create a victory condition that you die without units( like melee) I couldnt use melee rules since units wont gain experience like that.....
Pseudo trigger:
RemoveallunitsfromPlayerUnitCount(playerx)Pickallunitsin(entiremap)ownedby(playerx)Add(pickedunit)toPlayerUnitCount(playerx)IfNumberofunitsinPlayerUnitCount(playerx)==0ThenDisplaymessage:"O NOEZ U LOST LOLOL"Wait5secondsgametimeEndgameindefeatfor(playerx)
PlayerUnitCount(player x) is a Unit Group array variable of size (max number of players in game + 1).
For victory you can check each player to see if he has any enemies still in the game. If not, end in victory.
Hiya, I tried alot but I couldnt get it to work: I want to create a victory condition that you die without units( like melee) I couldnt use melee rules since units wont gain experience like that.....
Pseudo trigger:
PlayerUnitCount(player x) is a Unit Group array variable of size (max number of players in game + 1).
For victory you can check each player to see if he has any enemies still in the game. If not, end in victory.
I think that's what you want, anyway.
@BasharTeg: Go
Thank you good sir
It has been the utmost pleasure.