SetUnitFlyHeight selection circle height deviation #6
Labels
ingame issue
ingame feature does not behave as expected
low severity
map script issue
problem with map scripting (not specifically world editor)
External URLs
https://us.forums.blizzard.com/en/warcraft3/t/setunitflyheight-selection-circle-height-deviation/29119
Summary
When you increase a unit’s fly height with the SetUnitFlyHeight native function over the unit’s previous maximum fly height, the selection circle height gains an offset compared to the model, potentially falling through the ground, thus getting invisible.
Description
Additional information:
Changing the unit’s fly height back to X does not reset the distance, it remains the same.
It seems like the game remembers what the unit’s previous maximum fly height was. If you change the unit’s fly height back to X and then again to X + 100, the distance will still be the same from before but changing it to X + 200 apparently adds another 100 distance.
So the deviation can only get larger or remain the same.
Expected
Actual
Reproduction steps
Workaround
No response
Screenshots
No response
Game Versions
1.33.0 (1.33.0.18931, 1.33.0.19010, 1.33.0.19019, 1.33.0.19089, 1.33.0.19308)
The text was updated successfully, but these errors were encountered: