Hey i got a problem with morphing units. The units got a Behavior for more hitpoints and thats the reason why tanks heal while they switch t siege mode or unit borrow or unborrow. But how do i fix it? I think with a validator but what kind of validator and how?
Actually in the morph ability there is Info - Sections - Effects and if you took the morph from a zerg unit odds are it has the Zerg General - Post Morph (Healing Effect) which fully heals the unit when morph finishes.
the "normal" morph ability doesn't have this flag. test it yourself, create a hp changing buff and let the siegetank siege and unsiege. it heals itself. without buff the siegetank works fine
Unit - Any Unit uses Roach Poppa - Underground at Generic1 - Any stage (Ignore shared abilities)
Unit - Any Unit uses Roach Poppa - Cancel Underground at Generic1 - Any stage (Ignore shared abilities)
Actions
General - Switch (Actions) depending on (Triggering ability stage)
Cases
General - If (Generic3 - Execute)
Actions
Variable - Set Player[(Triggering player)].morph_life = ((Triggering unit) Life (Percent) (Current))
General - If (Generic6 - Complete)
Actions
Unit - Set (Triggering unit) Life (Percent) to Player[(Triggering player)].morph_life
Yours of course cant say player triggering player, and stuff because im using more variables here than is needed just to do this. All you need here is an array variable of type real to set as the morphing units life percent current. I am not 100% sure this works with online lag but as long as there is a minimum and maximum delay in your morph ability this trigger will transfer the life back and forth between the morphing units every time. And of course your events would change to correspond with your particular morph abilities.
Added a screenie of the trigger itself, as someone mentioned above its supposedly being fixed in 1.4 so maybe this will be unnecessary after that we will see.
Hey i got a problem with morphing units. The units got a Behavior for more hitpoints and thats the reason why tanks heal while they switch t siege mode or unit borrow or unborrow. But how do i fix it? I think with a validator but what kind of validator and how?
Actually in the morph ability there is Info - Sections - Effects and if you took the morph from a zerg unit odds are it has the Zerg General - Post Morph (Healing Effect) which fully heals the unit when morph finishes.
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
but i dont want that tanks gets healed when they siege up and unsiege and theres no effekt
Could always give them a damage effect with a validator that if the unit has the +hp buff they take damage equal to the amount healed on morph finish.
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
have the same problem, my tank heals itself sometimes on morph
push. still happens rarely
push again. any way to prevent this from happening, every unit heals itself while morphing if it has a health changing buff
Disable the buff while morphing?
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
doesn't help :(
sure you not got that zerg healing effect in the morph ability?
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
the "normal" morph ability doesn't have this flag. test it yourself, create a hp changing buff and let the siegetank siege and unsiege. it heals itself. without buff the siegetank works fine
fixed in 1.4 ptr. finally
How did you fix it?
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
@DrSuperEvil: Go
Unit - Any Unit uses Roach Poppa - Underground at Generic1 - Any stage (Ignore shared abilities) Unit - Any Unit uses Roach Poppa - Cancel Underground at Generic1 - Any stage (Ignore shared abilities) Actions General - Switch (Actions) depending on (Triggering ability stage) Cases General - If (Generic3 - Execute) Actions Variable - Set Player[(Triggering player)].morph_life = ((Triggering unit) Life (Percent) (Current)) General - If (Generic6 - Complete) Actions Unit - Set (Triggering unit) Life (Percent) to Player[(Triggering player)].morph_life
Yours of course cant say player triggering player, and stuff because im using more variables here than is needed just to do this. All you need here is an array variable of type real to set as the morphing units life percent current. I am not 100% sure this works with online lag but as long as there is a minimum and maximum delay in your morph ability this trigger will transfer the life back and forth between the morphing units every time. And of course your events would change to correspond with your particular morph abilities.
Added a screenie of the trigger itself, as someone mentioned above its supposedly being fixed in 1.4 so maybe this will be unnecessary after that we will see.