• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Fixing ability icon positions after loading

Status
Not open for further replies.
Level 28
Joined
Feb 2, 2006
Messages
1,631
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: 103
  • icons1.png
    icons1.png
    284.9 KB · Views: 89
Status
Not open for further replies.
Top