a recent patch included a feature that shows the number of units currently harvesting from a geyser, is there a way to retrieve this number for comparison?
So u are asking if is there a way to locate the number of (scvs, drones or probes"or other custom unit") that are harvesting minerals or vespene gas? If so, well "Units in region matching condition" may work, but im not sure if is there any condition "Is Harvesting".
I think the resource collection rate is a value calculated AFTER the game (total gas mined / total game time), not something that's updated during the game.
Although I could implement a feature that does something in-game it would be rather annoying.
And yes - I am trying to find the total number of units I have that are 1. mining gas and 2. mining minerals.
u could try to create small regions around the vespene geyeser and mineral to see the units that are currently in that zone.(Well just a workaround) When i say create regions its with triggers...Create region around unit. (I dont remember the exact name of it)
I had an implementation similar to that at first - then I ran into the problem where I actually needed to be able to distinguish unsaturated geysers from saturated geysers.
I actually managed to get finish my triggers - but it needed about 5 different triggers and about 500 lines :P
I think I described my scenario a bit off: I needed to know how many workers were mining each individual geyser (not as an aggregate whole) as they are built by the players in a game.
Hi,
a recent patch included a feature that shows the number of units currently harvesting from a geyser, is there a way to retrieve this number for comparison?
Is there a similar number of minerals?
So u are asking if is there a way to locate the number of (scvs, drones or probes"or other custom unit") that are harvesting minerals or vespene gas? If so, well "Units in region matching condition" may work, but im not sure if is there any condition "Is Harvesting".
@rakuenso: Go Player score -> Vespene collection rate
@deathtorn: Go
I think the resource collection rate is a value calculated AFTER the game (total gas mined / total game time), not something that's updated during the game.
Although I could implement a feature that does something in-game it would be rather annoying.
And yes - I am trying to find the total number of units I have that are 1. mining gas and 2. mining minerals.
u could try to create small regions around the vespene geyeser and mineral to see the units that are currently in that zone.(Well just a workaround) When i say create regions its with triggers...Create region around unit. (I dont remember the exact name of it)
@rakuenso: Go
Condition -> Get Current Harvest Peopn Count
@Exaken: Go
I dont think this distinguishes between those mining gas and minerals
@rakuenso: Go
this seems to work it was just a ton of conditions
type count to test it
@Usernameisntworkingright: Go
I had an implementation similar to that at first - then I ran into the problem where I actually needed to be able to distinguish unsaturated geysers from saturated geysers.
@rakuenso: Go
on a side note: does anyone know how info panels work? like when you highlight a unit, it tells you its number of kills, etc.
and similarly, when you highlight say, a refinery, it tells you "Current Harvesters"
@rakuenso: Go
try it now
I actually managed to get finish my triggers - but it needed about 5 different triggers and about 500 lines :P I think I described my scenario a bit off: I needed to know how many workers were mining each individual geyser (not as an aggregate whole) as they are built by the players in a game.
geyser A: 2 miners
geyser B: 6 miners
geyser C: 8 miners, etc.