I have a ability which activates a buff on a hero doubling the damage. I'd like to make the attack beam for the weapon also increase in size when the behavior is active. I don't suppose anyone knows how to do this?
you have to send an actor message to the beam actor on creation (either within the beam actor itself or from the outside). not 100% sure if you can use an unit validator with actor.events here, in this case effect.beamStart.start - validate unit: unit(caster) has behaviour - set scale 200%
Just look how the liberty campaign Hellion Attack Beam actor changes size when an upgrade is researched. It pretty much does the same as the above post says except uses a Player Requirement validator.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I have a ability which activates a buff on a hero doubling the damage. I'd like to make the attack beam for the weapon also increase in size when the behavior is active. I don't suppose anyone knows how to do this?
you have to send an actor message to the beam actor on creation (either within the beam actor itself or from the outside). not 100% sure if you can use an unit validator with actor.events here, in this case effect.beamStart.start - validate unit: unit(caster) has behaviour - set scale 200%
Just look how the liberty campaign Hellion Attack Beam actor changes size when an upgrade is researched. It pretty much does the same as the above post says except uses a Player Requirement validator.
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