im having some troubles creating an ability id like and it would be nice if someone could help :)
What i want:
I want an ability that, when used, shoots a missile into the direction the casting unit is facing.
The missile should explode when near an enemy unit or when maximum range is reached.
I created actors for missile and explosion (Generic Shooter Missile, ModelAnimationStylOneShot)
What i get:
When the ability is used, my unit moves to the target location (in case of Effect - Target) and dies, the missile actor is created and nearly instantly removed.
Is there any way you could imagine to do this with tha data editor only? I dont want to use triggers.
ok first problem solved:
i can see the actors now and the right amount of damage is applied.
If i use Effect-Target it works, wherever i click, the shot is going to where the unit is facing.
If i use Effect-Instant it damages the caster. If i set up an offset for the launch location i can move around and shoot by pressing the abilities hotkey, but the shots dont fly to where they should.
I suggest using the Effect - Instant ability. The first effect executed by this should be a Create Persistent, add your launch effect to the Periodic Effects field, set the Periodic Offset to something like (0,-20,0), set the Period Count to 1, also make sure your launch effect is set to Target Point and not unit.
Hello!
im having some troubles creating an ability id like and it would be nice if someone could help :)
What i want:
I want an ability that, when used, shoots a missile into the direction the casting unit is facing. The missile should explode when near an enemy unit or when maximum range is reached.
What i did:
What i get:
When the ability is used, my unit moves to the target location (in case of Effect - Target) and dies, the missile actor is created and nearly instantly removed.
Is there any way you could imagine to do this with tha data editor only? I dont want to use triggers.
ok first problem solved: i can see the actors now and the right amount of damage is applied.
If i use Effect-Target it works, wherever i click, the shot is going to where the unit is facing. If i use Effect-Instant it damages the caster. If i set up an offset for the launch location i can move around and shoot by pressing the abilities hotkey, but the shots dont fly to where they should.
I suggest using the Effect - Instant ability. The first effect executed by this should be a Create Persistent, add your launch effect to the Periodic Effects field, set the Periodic Offset to something like (0,-20,0), set the Period Count to 1, also make sure your launch effect is set to Target Point and not unit.
Works, thanks.
To anyone else having a similar question, check this:
http://www.sc2mapster.com/forums/development/data/57196-skillshots-missile-actor-lags-behind-its-missile/#p13