I sould like to have a unit that have a weapon that can be fired once, when used, the unit dissapears immediatly.
what is the best way of doing that ? I through about adding an effect to the weapon so it hit at caster point for a lot but i don't want any effect to play at unit location nor do i want the unit death effect in that situation.
I also tried to play with the actor event and did a weapon start > destroy , the unit dissapears but i still have it selected and it keep fiering the weapon... bug or feature ?
I sould like to have a unit that have a weapon that can be fired once, when used, the unit dissapears immediatly.
what is the best way of doing that ? I through about adding an effect to the weapon so it hit at caster point for a lot but i don't want any effect to play at unit location nor do i want the unit death effect in that situation.
I also tried to play with the actor event and did a weapon start > destroy , the unit dissapears but i still have it selected and it keep fiering the weapon... bug or feature ?
@dpsygnet: Go
destroying the actor is a feature.
if the weapon is an ability or button you can set a trigger something like
Event; any unit casts X ability
Actions; (i dont know what language the editor would use, but i'm sure it has something along the lines of destory, remove, or kill) triggering unit
I'm assuming he wants a data editor solution as this is the data forum.
The "Suicide - Remove" effect will remove the caster unit from the game without playing a death animation. Add this to the end of your effect chain.