hey guys. i do want to ask if i have 4 spawing building . how do i make wen the first spawn building get destroyed the second one will get starting with spawing ?? and wen the second one get destroyed the ........................)
Not very clear post but welcome to sc2mapster anyway.
I'm trying to lead you to right direction.
Make variable (type unit) and use "Set Variable" trigger. Then you can use "Conditions" part to check is your specific building alive for other triggers. (Like Barracks is alive == false)
Just expanding on what Terhonator said:
you can give a custom value to the first building built (ie. "Unit - Set (Last created unit) custom value 0 to 5", with 5 being the custom value).
Then, by using a trigger that runs every time a unit dies, add a condition that if the unit's custom value 0 == 5, then proceed to spawn the second building.
And so on !
hey guys. i do want to ask if i have 4 spawing building . how do i make wen the first spawn building get destroyed the second one will get starting with spawing ?? and wen the second one get destroyed the ........................)
please help me or give me link for that :P
thinks
Not very clear post but welcome to sc2mapster anyway.
I'm trying to lead you to right direction.
Make variable (type unit) and use "Set Variable" trigger. Then you can use "Conditions" part to check is your specific building alive for other triggers. (Like Barracks is alive == false)
Just expanding on what Terhonator said: you can give a custom value to the first building built (ie. "Unit - Set (Last created unit) custom value 0 to 5", with 5 being the custom value). Then, by using a trigger that runs every time a unit dies, add a condition that if the unit's custom value 0 == 5, then proceed to spawn the second building. And so on !
Depends on what you use to spawn units. Then you need to create trigger with event of unit death