As the title, says, I wan't the map I've map to give vision whenever you have 0 supply. I think it has to do with player property but I'm not quite sure where to mix things up. Please help :)
The trigger posted above does not work. Just tested it.
But, as an aside, you might run into problems if you plan on using this in a map where Zerg drones mutate into buildings. As you know, 1 Drone has -1 Supply... but, an Extractor or a Spawning pool has 0 supply (both finished, and when in construction). Cancel a building during construction and your supply goes -1, then +1. Could be an issue if a drone is your 1/0 supply situation.
Whoops, my mistake! It should be "supplies made" rather than "supplies limit", I've adjusted my above post with the correction :) I've attached the map I used for testing to this post.
@Apexplosive: Go Yes, it will still trigger if there are units left under the control of the trigger player. If the OP wants no units on the map to be a condition as well, this will need to be included.
Also, take the if statement out and add the condition to the trigger conditions.
You will have to take consideration as when the supply does not satisfy anymore. The revealer for that action is permanent, and can be saved to revealer variable, which you can destroy at any given time, bring you back to any sight you normally should get from your unit
As the title, says, I wan't the map I've map to give vision whenever you have 0 supply. I think it has to do with player property but I'm not quite sure where to mix things up. Please help :)
Here, try this (and yes, you will need to list each player in the events list):
Note: the 0.0 duration will mean that the map is permanently revealed.
Wouldnt this trigger if the person has units left? since it only looks at the supply limit as a condition
The trigger posted above does not work. Just tested it.
But, as an aside, you might run into problems if you plan on using this in a map where Zerg drones mutate into buildings. As you know, 1 Drone has -1 Supply... but, an Extractor or a Spawning pool has 0 supply (both finished, and when in construction). Cancel a building during construction and your supply goes -1, then +1. Could be an issue if a drone is your 1/0 supply situation.
Whoops, my mistake! It should be "supplies made" rather than "supplies limit", I've adjusted my above post with the correction :) I've attached the map I used for testing to this post.
@Apexplosive: Go Yes, it will still trigger if there are units left under the control of the trigger player. If the OP wants no units on the map to be a condition as well, this will need to be included.
@ChromiumBoy: Go
Also, take the if statement out and add the condition to the trigger conditions.
@wOlfLisK: Go
Touché wOlf, yes, using conditions is a much more efficient way of running it ;)
You will have to take consideration as when the supply does not satisfy anymore. The revealer for that action is permanent, and can be saved to revealer variable, which you can destroy at any given time, bring you back to any sight you normally should get from your unit