I have created a behaviour based on the campaign Tosh shield. When a unit's health drops below 50%, an "emergency shield" pops up, takes damage, and if it takes too much, dies. It works fine.
I have however created two duplicates (medium and big), with higher shield health and also with duplicated shield actors (VoodooShield (unnamed), VoodooShieldBirth (unnamed), VoodooShieldDeath (unnamed)), which have had their actors scaled up (because the units that use them are bigger).
When a unit using either medium or big emergency shield behaviour has it's shield appear, and then reduced to 0 shield, the shield does not disappear and remains as "0 shield" in the unit stats :O and complains that it does not have a corresponding death link or something. It only disappears however when the unit regains back to 51% of health, and does that perfectly. I'm a bit lost.
It complains, more specifically, that the unit the shielded unit is attacking does not have a shield to affix... what.
Sounds like events are messed up. You applying this shield buff via a damage resmonse buff that validates the host unit vitals (under 50% hp but does not have shield)?
Hello,
I have created a behaviour based on the campaign Tosh shield. When a unit's health drops below 50%, an "emergency shield" pops up, takes damage, and if it takes too much, dies. It works fine.
I have however created two duplicates (medium and big), with higher shield health and also with duplicated shield actors (VoodooShield (unnamed), VoodooShieldBirth (unnamed), VoodooShieldDeath (unnamed)), which have had their actors scaled up (because the units that use them are bigger).
When a unit using either medium or big emergency shield behaviour has it's shield appear, and then reduced to 0 shield, the shield does not disappear and remains as "0 shield" in the unit stats :O and complains that it does not have a corresponding death link or something. It only disappears however when the unit regains back to 51% of health, and does that perfectly. I'm a bit lost.
It complains, more specifically, that the unit the shielded unit is attacking does not have a shield to affix... what.
Sounds like events are messed up. You applying this shield buff via a damage resmonse buff that validates the host unit vitals (under 50% hp but does not have shield)?
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