1- in the tutorial it creates the crater where the baneling explodes because the deformation is created at the source unit and not the impact point. In my case, I use a missile so it creates a crater where the shooting unit is and not at the impact point. how2fixplz?
2-after the terrain deformation actor has been created (under the shooting unit), it follow the unit if I move it around! how do I destroy the terrain modification actor after creating it? (in the events, I know I should choose "destroy" but what msg type should I use?)
however a new problem appeared :( my so-called solution to my first problem doesn't seem to work (it seems random, sometimes the crater is created at the impact point, sometimes at the unit firing the missile, sometimes at both!).
any idea what I could try?
I followed this tutorial http://www.sc2mapster.com/forums/resources/tutorials/895-data-terrain-actors-how-to-do-live-otf-terrain-deformation/ and managed to get it working but there are 2 small problems.
1- in the tutorial it creates the crater where the baneling explodes because the deformation is created at the source unit and not the impact point. In my case, I use a missile so it creates a crater where the shooting unit is and not at the impact point. how2fixplz?
2-after the terrain deformation actor has been created (under the shooting unit), it follow the unit if I move it around! how do I destroy the terrain modification actor after creating it? (in the events, I know I should choose "destroy" but what msg type should I use?)
thanks in advance!
solved problem #1 - I added a "at TargetOuter" term to the events. not sure if it is the best solution but it seems to work.
any idea for the rest?
You could create a timer in actor events and then when timer ends you destroy it. Or when the cast ends you could destroy it.
it works! thanks.
however a new problem appeared :( my so-called solution to my first problem doesn't seem to work (it seems random, sometimes the crater is created at the impact point, sometimes at the unit firing the missile, sometimes at both!). any idea what I could try?