I've problem with beams. I made an ability that grants a certain behavior to a group of allied units in range. Everything works fine, but it the beam is only shown once. Instead of a beam coming from the caster to all targeted units, only the last that entered his range seems to get linked by the beam, although all units get the behavior. So again: It's just the visual effect that doesn't work!
This is the actor I'm using:
Actor Type: Beam (Simple)
Based On: Beam Simple Animation Style One Shot
I tried using the impact and it actually works for exactly two times the effect is spawned by the persistant. (????) After that, only at the last unit that entered the searched area the effect is shown.
This is totally confusing and I've no idea what the reasons might be. Could it be a problem with the actor not being destroyed properly?
Hey guys,
I've problem with beams. I made an ability that grants a certain behavior to a group of allied units in range. Everything works fine, but it the beam is only shown once. Instead of a beam coming from the caster to all targeted units, only the last that entered his range seems to get linked by the beam, although all units get the behavior. So again: It's just the visual effect that doesn't work!
This is the actor I'm using:
Actor Type: Beam (Simple)
Based On: Beam Simple Animation Style One Shot
Events:
Effect.spell.Start
. At Target
. Create
ActorCreation
. Set TintColor
ActorCreation
. AnimPlay Beam, etc
AnimDone
. AnimName Beam
. Destroy
Hosting: Host: Scope Target Subject: _Selectable
Hosting Host Impact: Scope Target, Subject: _Selectable
+siteops
Hosting Host Launch: Scope Caster, Subject: _Selectable
+siteops
I've no clue why it doesn't work. Do I need to create a persistant searching for a single target instead?
Thanks for you help in advance!
Aegis
@AegisPrime2011: Go
"Based On: Beam Simple Animation Style One Shot" If I had to take a guess, this would be why.
on what should I base it instead? Bea Simple Animation Style Continous is even worse, isn't it?
Use impact instead of start. Start only creates it when you start using it. I advise looking at how other beams control their animations.
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
I tried using the impact and it actually works for exactly two times the effect is spawned by the persistant. (????) After that, only at the last unit that entered the searched area the effect is shown.
This is totally confusing and I've no idea what the reasons might be. Could it be a problem with the actor not being destroyed properly?
thanks for the answers!
If you think it is not being destroyed properly add a kill switch using timers.
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