RESOLVED! All that needed to be done was to change the unit height in the unit fields, and then that also ended up fixing the double life bar by covering it up perfectly.
I'm attempting to fix some actor issues that I've previously had with a teleporter I made, and I simply cannot figure it out. I used a pylon as the parent and created the unit, changed the model and tada easy, right? No. First issue is that the actor spawns in the ground with a z offset of -0.2, something I tried to fix via actors using actor creation and unit birth. When the teleporter is changed from a destination teleporter to a source teleporter, it gets a behavior which swaps the model and is a marker for the actual teleportation, and doing the model swap has a random chance to either undo that initial z offset or keep it. The second issue is that is has TWO health bars. No where in the actor is a second actor attached, and even removing the creation model doesn't fix the issue.
I did model swap via actor events, which worked fine. I rebuilt the unit from scratch and then everything started working fine, I have no idea what was going wrong before.
RESOLVED! All that needed to be done was to change the unit height in the unit fields, and then that also ended up fixing the double life bar by covering it up perfectly.
I'm attempting to fix some actor issues that I've previously had with a teleporter I made, and I simply cannot figure it out. I used a pylon as the parent and created the unit, changed the model and tada easy, right? No. First issue is that the actor spawns in the ground with a z offset of -0.2, something I tried to fix via actors using actor creation and unit birth. When the teleporter is changed from a destination teleporter to a source teleporter, it gets a behavior which swaps the model and is a marker for the actual teleportation, and doing the model swap has a random chance to either undo that initial z offset or keep it. The second issue is that is has TWO health bars. No where in the actor is a second actor attached, and even removing the creation model doesn't fix the issue.
Any fixes?
SCII Profile: http://us.battle.net/sc2/en/profile/2744634/1/Drusus/
"The main reason Santa is so jolly is because he knows where all the bad girls live." - George Carlin
Two bars? you using any triggers that affect UI? Maybe two units?
Use a SOp(Local Offset) SOp on the Unit actor. How are you swapping the actors/models?
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
I did model swap via actor events, which worked fine. I rebuilt the unit from scratch and then everything started working fine, I have no idea what was going wrong before.
SCII Profile: http://us.battle.net/sc2/en/profile/2744634/1/Drusus/
"The main reason Santa is so jolly is because he knows where all the bad girls live." - George Carlin