When a specific building of mine dies i want to replace that building with another one (same size) the very same instant it dies and on the same spot even if surrounded with 100 lings but the building that i replace with triggers get moved to another location because it does not have enough room or something. I guess this have something to do with footprint / unit taking up space?
Perhaps its better to "morph" the building when it dies to another building but i have no clue how to do that.
When the building get completely surrounded with lings and die and the new building spawn at the spot (same footprint) its like the lings have got in the way somehow, the small window between death and creating the new unit seams to be enough for the lings to get in the way.
Maybe add some kind of shock wave effect when it does to all unit close to it? Does anybody know how to create a small shock wave effect?
Maybe use something like the forcefield use, I don't know how ti works tho. I tested to replace a supply depo with a forcefield but the forcefield did not push the units away like it normally does.
Been working on a solution for this for days now but cant find any good with the knowledge i have :/
When a specific building of mine dies i want to replace that building with another one (same size) the very same instant it dies and on the same spot even if surrounded with 100 lings but the building that i replace with triggers get moved to another location because it does not have enough room or something. I guess this have something to do with footprint / unit taking up space?
Perhaps its better to "morph" the building when it dies to another building but i have no clue how to do that.
When the building get completely surrounded with lings and die and the new building spawn at the spot (same footprint) its like the lings have got in the way somehow, the small window between death and creating the new unit seams to be enough for the lings to get in the way.
Maybe add some kind of shock wave effect when it does to all unit close to it? Does anybody know how to create a small shock wave effect?
Maybe use something like the forcefield use, I don't know how ti works tho. I tested to replace a supply depo with a forcefield but the forcefield did not push the units away like it normally does.
Been working on a solution for this for days now but cant find any good with the knowledge i have :/
@Sherlia: Go
Please anybody, any tip or idea how to make this work would be awesome.
Here is a test map you can use to figure out something useful to fix it with.
Just select the lings and attack the building.
Very simple triggers set up just like in my map. No data editing have been made.
You should be able to check a flag in the trigger saying (Ignore Placement Requirements) or something.
@A52BcE: Go
OMG was it that simple? 1 checkbox? LoL :D
THANK YOU