I want to create a unit and as soon as it is built - it will die automatically. Sounds crazy, I know. Is this possible? I tried with changing the health = -100, but it still just stands around.
Location: Glued to the chair in front of my laptop
Posts: 1,158
What i think you could do is make it so that it spawns anthrax or radiation, then make it die from its own poison. Sorry if thats not what you wanted. And why do you want this to happen?
Behavior = LifetimeUpdate ModuleTag_XX
MinLifetime = [integer, milliseconds]
MaxLifetime = [integer, milliseconds, should be greater than or equal to MinLifetime]
End
You can then add an OCL TO create a new object, add differen death types and many many more possibilities!
Is it possible to kill the object when you tell it to move then it creates a new object at the new location? I'm working on instant teleportation and this could help me because using a very fast locomotor doesn't work like i want.
Well you could do it with a commandbutton - one that fires a weapon that destroys SELF and spawns "itself" at the entered location. Prob is you could do this everywhere, AND you would loose veterancy, AND you would get 100% health again.