I found the solution. Create Persistent effects have a "Random Offset" flag, this will cause each effect to randomly pick one of the offsets from the "periodic offset" field, so just add a bunch of different values spread out in a circle and presto, it works perfectly.
I already have the effects and actors created. There's a Create Persistent effect which periodically (every .1 second for 2 seconds) spawns a Launch Missile effect, and then there's a Damage effect triggered on the missile impact that does splash damage. All of that's working fine - the only problem is that all of the missiles travel directly to the target point.
I figure either the Impact Attachment Query, or the projectile unit's Mover, is what I need to look at.
I'm working on an ability where a barrage of small rockets is launched at a target unit or point. I have everything working, except that all of the missiles currently go to the exact same point. What I'd like to do is have each of them target a random point within a set radius (say, 2.5).
My thinking right now is that the answer lies somewhere in the "Impact Attachment Query" field of the Attack actor for the spell, but I haven't fully figured out how attach methods work (and how they are different from site ops.)
Anyone implemented anything like this and feel like saving me hours and hours of trial and error?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I found the solution. Create Persistent effects have a "Random Offset" flag, this will cause each effect to randomly pick one of the offsets from the "periodic offset" field, so just add a bunch of different values spread out in a circle and presto, it works perfectly.
edit: Video of it in action:
I already have the effects and actors created. There's a Create Persistent effect which periodically (every .1 second for 2 seconds) spawns a Launch Missile effect, and then there's a Damage effect triggered on the missile impact that does splash damage. All of that's working fine - the only problem is that all of the missiles travel directly to the target point.
I figure either the Impact Attachment Query, or the projectile unit's Mover, is what I need to look at.
I'm working on an ability where a barrage of small rockets is launched at a target unit or point. I have everything working, except that all of the missiles currently go to the exact same point. What I'd like to do is have each of them target a random point within a set radius (say, 2.5).
My thinking right now is that the answer lies somewhere in the "Impact Attachment Query" field of the Attack actor for the spell, but I haven't fully figured out how attach methods work (and how they are different from site ops.)
Anyone implemented anything like this and feel like saving me hours and hours of trial and error?