I'm working on an ability where the caster launches two missiles from either side of himself, offset by 1.5 units and -1.5 units in the X direction. I can't quite get it to work, though.
I know I need to use a persistent effect to create the offsets, but I can't quite figure out how to use these offsets as the source point of the missile launch.
As far as visuals go the launch site must be attached to an actor. Easiest work around is to have multiple hidden Model actors with a Site actor used as the source for the visual of the launch.
Else look how my walker does it for the leg movement (my data assets).
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Most efficient method would be a persistent effect with periodic effect set to the Launch Missile effect, period duration set to 0, and periodic offsets to define all possible launch points.
Hey all,
I'm working on an ability where the caster launches two missiles from either side of himself, offset by 1.5 units and -1.5 units in the X direction. I can't quite get it to work, though.
I know I need to use a persistent effect to create the offsets, but I can't quite figure out how to use these offsets as the source point of the missile launch.
Anybody know how to do it?
Thanks, Wrath
I believe you need to create an lauch effect for each that has the launch offsets and then an actor for each as well.
@hobbidude: Go
That's kind of unfortunate. What if I was trying to launch from more like eight offsets? There'd be no easy way to do it, huh?
For this though, I can just use those launch offsets. Thanks.
As far as visuals go the launch site must be attached to an actor. Easiest work around is to have multiple hidden Model actors with a Site actor used as the source for the visual of the launch.
Else look how my walker does it for the leg movement (my data assets).
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Most efficient method would be a persistent effect with periodic effect set to the Launch Missile effect, period duration set to 0, and periodic offsets to define all possible launch points.
Unless they fixed it visual wise all missiles would still launch from the caster unit unless you do what I said.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg