The easiest way to do this would be to just create a dialog in the top right corner and then a dialog item of type "Label", which has the text "Queens:" + (Number of Queens on the map for player X).Then you just need to update said Label for each player every time a queen spawns or dies. (I dont know if you can update Dialog items for players individually, if that doesnt work you need to create one dialog per player with each one having a Label)
you could use the worker, army or warpgate buttons so everything wouldn't need one trigger at all (so only queen would be a worker, or used by the army button, or be warpgate). everything could be set with UI-Editor, i think even race specific text (but never tried that)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible to add a box in the top right corner that displays the number of units a player controls, of a specific kind?
Zerg can have a maximum of 5 Queens.
Terran can have a maximum of 5 Caravans.
Protoss can have a maximum of 5 Orbs.
See picture below.
So if a player has 4 Queens and loses 1, then the box will change accordingly to that.
I never use custom interfaces for my maps. This will be the first time. Any suggestions how to make this?
The easiest way to do this would be to just create a dialog in the top right corner and then a dialog item of type "Label", which has the text "Queens:" + (Number of Queens on the map for player X).Then you just need to update said Label for each player every time a queen spawns or dies. (I dont know if you can update Dialog items for players individually, if that doesnt work you need to create one dialog per player with each one having a Label)
you could use the worker, army or warpgate buttons so everything wouldn't need one trigger at all (so only queen would be a worker, or used by the army button, or be warpgate). everything could be set with UI-Editor, i think even race specific text (but never tried that)