My current map is a Race Wars game. I have it operational at the moment, it's an 8 player map and when everyone is force random for race. The game starts and force allies all members of the same race. However I'm trying to figure out how to code it so that way no one race can be greater than the other two combined.
So at the moment, I can get it to do the following.
Player Group - Pick each player in (All players) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Race of player (Picked player)) == Protoss
Then
Variable - Modify Toss: + 1
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Race of player (Picked player)) == Terran
Then
Variable - Modify Terran: + 1
Else
Variable - Modify Zerg: + 1
It's not pretty, but it counts up all the races. However now my issue is, how would I go about changing one player from the race that is > the other two combined, to one of the other two races. and better yet, any way to keep it random which race he gets switched to.
Thank you very much, for whatever reason i kept messing with custom dialogs and that obviously had me going down the wrong path =). Now I'm gonna try and fiddle around with it until I can get the text of the Triggering player to come up as the triggering player's color.
I apologize for such a basic question, but for whatever reason I just can't seem to grasp it. I've been trying to put a simple trigger into my map and it keeps giving me issues. I want a player to be able to say "-Spectate" and once this is done, it kills all of their units and gives them vision of all the other players and a message would come up that would have the name of the triggering player and then " has decided to spectate." I can get everything working except for the chat part. I'm unsure of what trigger to use to get it to work and been messing around with it a bunch and just getting errors.
0
My current map is a Race Wars game. I have it operational at the moment, it's an 8 player map and when everyone is force random for race. The game starts and force allies all members of the same race. However I'm trying to figure out how to code it so that way no one race can be greater than the other two combined.
So at the moment, I can get it to do the following.
Player Group - Pick each player in (All players) and do (Actions) Actions General - If (Conditions) then do (Actions) else do (Actions) If (Race of player (Picked player)) == Protoss Then Variable - Modify Toss: + 1 Else General - If (Conditions) then do (Actions) else do (Actions) If (Race of player (Picked player)) == Terran Then Variable - Modify Terran: + 1 Else Variable - Modify Zerg: + 1
It's not pretty, but it counts up all the races. However now my issue is, how would I go about changing one player from the race that is > the other two combined, to one of the other two races. and better yet, any way to keep it random which race he gets switched to.
Any help would be greatly appreciated. TY
0
@zeldarules28: Go
Thank you very much, for whatever reason i kept messing with custom dialogs and that obviously had me going down the wrong path =). Now I'm gonna try and fiddle around with it until I can get the text of the Triggering player to come up as the triggering player's color.
0
I apologize for such a basic question, but for whatever reason I just can't seem to grasp it. I've been trying to put a simple trigger into my map and it keeps giving me issues. I want a player to be able to say "-Spectate" and once this is done, it kills all of their units and gives them vision of all the other players and a message would come up that would have the name of the triggering player and then " has decided to spectate." I can get everything working except for the chat part. I'm unsure of what trigger to use to get it to work and been messing around with it a bunch and just getting errors.
Any help would be greatly appreciated ♥
0
Bump
Would love to know