i have caster which has a unit(constructor) walking all the time behind him. the unit(constructor) starts to construct a building when the construction is finshed i remove the unit(constructor) and the caster is loaded into the constructed building. the constructed building has an exparation timer (it gets destroyed after a while) and the caster is getting unloaded.
the trigger is: event: unit is getting unloaded
Action:wait 30 seconds create unit(constructor)
i dont want to create the constructor right after the caster is getting unloaded. at the moment i removed the "wait 30 seconds" because otherwise it wouldnt create the unit at all. so how can i create the constructor 30 seconds after the caster got unloaded? i hope my explanation is not to stupid. and i also hope you dont think i am spamming or something.
I'm not sure i fully understand, but you could set the unit in a variable, then make an action the hides the unit, then after the unloading and time you move him to where you want him to be, then unhide him. i don't know if this is what you looking for.
that was my first idea too but the problem is the unit(constructor) collects dead bodies to build, so i have to remove the unit to delete the dead bodies inside it.
Yeah exactly like the meatwagon: another problem i think he would start collecting the same bodies again and if he has 8 bodies collected he starts building, so i somehow have to delete the unit with the stuff in it. and i dont want to unload and then remove all dead bodies from the map that would be bad for some other heros that use dead bodies too. there must be a solution for this