• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[JASS] Fixing ability icon positions after loading

Status
Not open for further replies.
Level 26
Joined
Feb 2, 2006
Messages
1,695
Whenever I load a saved game the icon positions of my abilities are changed.

Unfortunately I cannot set fixed values to some abilities since the order of them is not clear.
Four abilities should be shown in the bottom row. However I cannot set their UI values to proper values since there can be different combinations of abilities in the bottom row.
They all have the coordinates 0 | 0.

Before Loading:
http://www.hiveworkshop.com/forums/attachment.php?attachmentid=151944&stc=1&d=1454062703

After Loading:
http://www.hiveworkshop.com/forums/attachment.php?attachmentid=151945&stc=1&d=1454062704

The three abilities in the middle row have correct UI coordinates. Maybe I could set the Y value to 3 to make sure that they are in the last row.

I tried to remove all abilities and readd them in different orders when the game is loaded but nothing worked. Why are the positions messed up after loading and how can I fix them without setting fixed UI coordinates to the abilities in the bottom row?
 

Attachments

  • icons0.png
    icons0.png
    253.3 KB · Views: 99
  • icons1.png
    icons1.png
    284.9 KB · Views: 84
Status
Not open for further replies.
Top