Hello, i created a behavior which create the visual effect of a shield around the unit affected by it in response to damage.
It's much like hardened shield, but unlike it it does not fade away after the first it and it remains around the unit for a while.
I see it is possible to modify the height from the actor event however it will only effectively change it only the first time the model is created,
example: i receive damage and the shield is created with the correct height (the one i set through actor events), then the unit moves and it comes instantly back to it's original height and remains in that way.
Use a second hidden model like a marine that the visual model is attached to and alter the scale of that model with the Set Scale event action.
Event wise I would get it to trigger on Damage Handled on the behaviour else make it use a dummy effect as a damage response that the events recognise. You then use Unit Movement Update to do the second change.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hello, i created a behavior which create the visual effect of a shield around the unit affected by it in response to damage. It's much like hardened shield, but unlike it it does not fade away after the first it and it remains around the unit for a while. I see it is possible to modify the height from the actor event however it will only effectively change it only the first time the model is created, example: i receive damage and the shield is created with the correct height (the one i set through actor events), then the unit moves and it comes instantly back to it's original height and remains in that way.
Use a second hidden model like a marine that the visual model is attached to and alter the scale of that model with the Set Scale event action.
Event wise I would get it to trigger on Damage Handled on the behaviour else make it use a dummy effect as a damage response that the events recognise. You then use Unit Movement Update to do the second change.
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