I would like to be able to randomly pick a point within the firing arc and have the missile shoot to that point. I have some idea, but at the same time, I don't know where to start to define the points and then pick them.
You could search for a random target within the arc, maximum count of 1, TSRandom search filter, etc.
If you want random points with or without targets, then you simply could use a Create Permanent effect with a long list of offsets that correspond to the area you want to cover ( stuff at 0,-1,0 is in front of unit ). Make sure the Target:Location is set to the source unit or so (not the target). Then you create just one periodic effect at time 0.000, and set the flag "Random offset". The periodic offset will be called once with a random offset from the list.
You could search for a random target within the arc, maximum count of 1, TSRandom search filter, etc.
If you want random points with or without targets, then you simply could use a Create Permanent effect with a long list of offsets that correspond to the area you want to cover ( stuff at 0,-1,0 is in front of unit ). Make sure the Target:Location is set to the source unit or so (not the target). Then you create just one periodic effect at time 0.000, and set the flag "Random offset". The periodic offset will be called once with a random offset from the list.
As much as you think this helps me ... it really doesn't. Your suggestions are not very clear. If I do the search area, where does it go? What effect does it call? I already have a persistent launching the missiles, but it already has an offset for itself. Problem is, how do I put another persistent in the chain to set the target points? I need some more specifics here. Thanks anyways for that though.
just have a look at the banshee rockets and adjust your skill/attack like there
The banshee is already working off an acquired target if I looked at it right. I don't have an acquired target for my ability. What I want is to automatically shoot in front of the caster to a bunch of random points.
if this is for a Target Ability you can create a Persistent Effect at the target point that has multiple periodic offsets and random offset flag ticked on. then start with the Make Precusor Apply behavior effect and a launch missile effect set for the periodic effect. use a period count of 1 and a short period duration.. the Launch Missile effect impact effects should be a set containing a remove precursor behavior and the effects you want your missile to produce. this will should work for targeting points Only if used on a unit the unit will be removed from the game with out credit to the caster in any form. this is the best i could recall at the moment if you need more info or a demo map i have one completed already that utilizes a similar effect tree.
What I want to achieve is something like this:
I would like to be able to randomly pick a point within the firing arc and have the missile shoot to that point. I have some idea, but at the same time, I don't know where to start to define the points and then pick them.
You could search for a random target within the arc, maximum count of 1, TSRandom search filter, etc.
If you want random points with or without targets, then you simply could use a Create Permanent effect with a long list of offsets that correspond to the area you want to cover ( stuff at 0,-1,0 is in front of unit ). Make sure the Target:Location is set to the source unit or so (not the target). Then you create just one periodic effect at time 0.000, and set the flag "Random offset". The periodic offset will be called once with a random offset from the list.
As much as you think this helps me ... it really doesn't. Your suggestions are not very clear. If I do the search area, where does it go? What effect does it call? I already have a persistent launching the missiles, but it already has an offset for itself. Problem is, how do I put another persistent in the chain to set the target points? I need some more specifics here. Thanks anyways for that though.
@currydevil: Go
just have a look at the banshee rockets and adjust your skill/attack like there
The banshee is already working off an acquired target if I looked at it right. I don't have an acquired target for my ability. What I want is to automatically shoot in front of the caster to a bunch of random points.
@currydevil: Go
All fixed.
"As much as you think this helps me ... it really doesn't."
Eh I'm sorry, it's not always easy to estimate one's current skill level from a 2-3 lines question.
Your last post was "All fixed", does it imply you found a solution to your problem?
I know how to do this one!
if this is for a Target Ability you can create a Persistent Effect at the target point that has multiple periodic offsets and random offset flag ticked on. then start with the Make Precusor Apply behavior effect and a launch missile effect set for the periodic effect. use a period count of 1 and a short period duration.. the Launch Missile effect impact effects should be a set containing a remove precursor behavior and the effects you want your missile to produce. this will should work for targeting points Only if used on a unit the unit will be removed from the game with out credit to the caster in any form. this is the best i could recall at the moment if you need more info or a demo map i have one completed already that utilizes a similar effect tree.