Ok I try my best to explain what I'm after. I'm trying to create ability for a base building on my map that
spawns units periodically. Lets say a marine every 10 seconds, and to have a spawned unit cap of 6.
So when you build structure X (like Supply Depot) the spawning ability unit cap increases by 3.
It should go like this:
Map starts and you have your base structure
The base structure spawns marine every 10 seconds, up to 6 marines
Just use a behavior of the Spawn type and create some requirements for it. Have it use two spawns, one is the 6 capped marine spawn which is disabled when you make the supply depot while the other is the 10 capped one when you have it.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
As I mentioned and as used by the Hatchery - Spawn Larvae behavior you can create multiple rows of units spawned within the same behavior each with a different requirement. Just get each one to have a different requirement with unit cap higher than the last and a count the number of supply depots No = x.
That way with 0 depots the first row of spawning will be active with a cap of 6
With 1 depot the first row will disable and the second will enable with the cap of 9 etc.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Ok I try my best to explain what I'm after. I'm trying to create ability for a base building on my map that spawns units periodically. Lets say a marine every 10 seconds, and to have a spawned unit cap of 6. So when you build structure X (like Supply Depot) the spawning ability unit cap increases by 3.
It should go like this:
Just use a behavior of the Spawn type and create some requirements for it. Have it use two spawns, one is the 6 capped marine spawn which is disabled when you make the supply depot while the other is the 10 capped one when you have it.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Ok. I got the spawning behaviour to work, but with the setting the spawning cap according to the amount of Depots... I lost the ball there.
And thnx for the help.
As I mentioned and as used by the Hatchery - Spawn Larvae behavior you can create multiple rows of units spawned within the same behavior each with a different requirement. Just get each one to have a different requirement with unit cap higher than the last and a count the number of supply depots No = x.
That way with 0 depots the first row of spawning will be active with a cap of 6
With 1 depot the first row will disable and the second will enable with the cap of 9 etc.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Ok Got it! Thnx again.