Hello Hivers!
I have a question that I'd really need an answer about as i'm really confused. What I want to know is how do you set a group of triggers with dilog and spawners to be set to every player on 1 team.
I not only want to know that, but if the player is a computer player, then set them to choose randomly.
I am asking this as I am working on upgrading the Monolith map for the players to be the monolith while choosing the race they want, while also having CPU that chooses randomly.
I have made a set of triggers that do work with only 1v1 battle, but once I add another computer player on creeps team, the last player (player 5 and player 6 play, while only the triggers are set to player 6).
Can someone please help me to how to do this for every player? I tried everything I know to my knowledge.
Main Creep selection screen
Thank you if you do help me.
I will publish the finnished map as soon as I get everything working.
I have a question that I'd really need an answer about as i'm really confused. What I want to know is how do you set a group of triggers with dilog and spawners to be set to every player on 1 team.
I not only want to know that, but if the player is a computer player, then set them to choose randomly.
I am asking this as I am working on upgrading the Monolith map for the players to be the monolith while choosing the race they want, while also having CPU that chooses randomly.
I have made a set of triggers that do work with only 1v1 battle, but once I add another computer player on creeps team, the last player (player 5 and player 6 play, while only the triggers are set to player 6).
Can someone please help me to how to do this for every player? I tried everything I know to my knowledge.
Main Creep selection screen
- Creep Select
-
Events
- Time - cenematicTimer expires
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- (cpPlayers[cpCurrent] controller) Equal to Computer
-
Then - Actions
- Unit - Create 4 creepWorker[cpCreep Types[cpCurrent]] for cpPlayers[cpCurrent] at (Centre of startLocCurrent) facing Default building facing degrees
-
Else - Actions
- Dialog - Clear CreepSelection
- Dialog - Change the title of CreepSelection to Select Creep Race
- Dialog - Create a dialog button for CreepSelection labelled Dark Troll
- Set CreepSelectionButton[1] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Beast
- Set CreepSelectionButton[2] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Furbolg
- Set CreepSelectionButton[3] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Lizard
- Set CreepSelectionButton[4] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Murloc
- Set CreepSelectionButton[5] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Satyr
- Set CreepSelectionButton[6] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Spider
- Set CreepSelectionButton[7] = (Last created dialog Button)
- Dialog - Create a dialog button for CreepSelection labelled Wolf
- Set CreepSelectionButton[8] = (Last created dialog Button)
- Dialog - Show CreepSelection for cpPlayers[cpCurrent]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Dark Troll
-
Events
- Dialog - A dialog button is clicked for CreepSelection
-
Conditions
- (Clicked dialog button) Equal to CreepSelectionButton[1]
-
Actions
- Unit - Create 4 Dark Troll Enlisted for cpPlayers[cpCurrent] at (Center of startLocCurrent) facing Default building facing degrees
-
Events
Thank you if you do help me.
I will publish the finnished map as soon as I get everything working.
Last edited: