Just create a Behavior (with your duration) that will apply the "Suicide" effect when Behavior expires.
Check how the infested terran works if you don't see what I mean.
Just create a Behavior (with your duration) that will apply the "Suicide" effect when Behavior expires. Check how the infested terran works if you don't see what I mean.
This is a great way to do it.
Although if you don't know how to do this, you can have the same effect by simply adding a trigger that puts a expiration timer on you're created unit.
How do I make it so when a unit spawns, it lasts a few seconds than dies? Like an infestor's infested terran.
@Darttagman: Go
Just create a Behavior (with your duration) that will apply the "Suicide" effect when Behavior expires. Check how the infested terran works if you don't see what I mean.
This is a great way to do it.
Although if you don't know how to do this, you can have the same effect by simply adding a trigger that puts a expiration timer on you're created unit.
I used the Raven's Autoturret behavior on Items in my RPG map, so that they didn't stick around forever.
Simply add in Behaviors+ the Autoturret Timed Life, or something along those lines. 60 seconds and it dies. ^_^