Just edit the Beam (Simple) actor and add an event setup of Behaviour.blah.On with the At term before your Set tint colow or texture select by id action.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Problem is that Behavior.blah.On event don't have At term.
Tried something like (and many others, but this imo should work)
-ActorCreation
-ValidateUnit (validator checking if caster have buff)
-SetTint color
but validator fails
Try it out first ;) You cannot add every term to every actor event. For the behavior events, the at term is not available. You could add it in raw data, but it would probably have no effect, since it probably has a reason to not show up in the list.
Try just using a validator in a validate unit term
EDIT: Love it when someone answers while I'm writing so that I get the "new post was made" error message, but already tabbed out so I dont see it until 3 hours later
I've tried validate unit, but don't know what event put there (attacking unit doesn't work - it's weapon).
Just edit the Beam (Simple) actor and add an event setup of Behaviour.blah.On with the At term before your Set tint colow or texture select by id action.
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
Problem is that Behavior.blah.On event don't have At term.
Tried something like (and many others, but this imo should work) -ActorCreation -ValidateUnit (validator checking if caster have buff) -SetTint color but validator fails
@ShadowDancer93: Go
jjust right click, add term, and put At caster.
@SrSuperEvil
He cant texture select it either, Since most of the beams use the alpha to create a glow that is the majority of the beam.
Try it out first ;) You cannot add every term to every actor event. For the behavior events, the at term is not available. You could add it in raw data, but it would probably have no effect, since it probably has a reason to not show up in the list.
Y not just make two actors. Of different colored beams. And one of them fires when the buff is active, and the other fire when the buff is no active.
Hah, that's the problem, detect when buff is active ;) I've remade whole ability to have 2 versions, with buff and without - not good, but working.
Could you not just model swap the beam actor when buff is on?
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
Yep, but whole problem is to discover when buff is on ;)
There is no At term in behavior event.
Isn't it possible to validate the caster with a term to see if it has the buff and if so model swap?
@ShadowDancer93: Go
Try just using a validator in a validate unit term
EDIT: Love it when someone answers while I'm writing so that I get the "new post was made" error message, but already tabbed out so I dont see it until 3 hours later
@Spoolofwhool: Go
Apparently not. Maybe behavior don't proc caster or what?