I'm trying to make a ability that launches a missile, which deals damage to the first unit it collides with and then disappears. I got almost everything to be working, but I can't figure out how to:
- Make the missile always move to the maximum possible casting range in the direction of the target point. (Currently, it'll stop at the target point rather than continue moving to the max range).
I tried changing several fields for the 'Mover', but can't seem to get it right. I also tried to find answers, but I only found the same 'questions', without the correct answers.
Also, if it helps, here's how the ability works currently:
Ability: Effect - Target (Launch Missile > Missile has periodic search behavior > Upon 'collision', damage and then suicide)
Have the ability start a create persistent effect with
- target location: caster point
- period count: 1
- period offset: x = 0, y = negative [range]
- period duration: 0
- period effect: your launch effect
This will make one launch effect, targeting the caster's location, offset by the range you put into period offset.
If needed: You can change the orientation of the shot by modifying Location Offset Start and Location Offset End. The line you can draw between these locations dictates the orientation of the period offset.
I'm trying to make a ability that launches a missile, which deals damage to the first unit it collides with and then disappears. I got almost everything to be working, but I can't figure out how to:
- Make the missile always move to the maximum possible casting range in the direction of the target point. (Currently, it'll stop at the target point rather than continue moving to the max range).
I tried changing several fields for the 'Mover', but can't seem to get it right. I also tried to find answers, but I only found the same 'questions', without the correct answers.
Also, if it helps, here's how the ability works currently: Ability: Effect - Target (Launch Missile > Missile has periodic search behavior > Upon 'collision', damage and then suicide)
Have the ability start a create persistent effect with
- target location: caster point
- period count: 1 - period offset: x = 0, y = negative [range]
- period duration: 0
- period effect: your launch effect
This will make one launch effect, targeting the caster's location, offset by the range you put into period offset.
If needed: You can change the orientation of the shot by modifying Location Offset Start and Location Offset End. The line you can draw between these locations dictates the orientation of the period offset.
@Bulder_Bob: Alright, it's working. Thanks a lot.