- Joined
- Mar 24, 2008
- Messages
- 184
It's quite hard to explain the problem, so i'm posting this map (i know it's HORRIBLY scripted, i'm just testing some ideas on this map, when i after develop things i use vJASS) where i'm making a sort of GUI where you can use the buttons to cast your heroes skills without having to select them first.
The problem is that if i spam click on a button, then another skill is casted (it seems that when i click twice or more on one of thoose buttons then i'll select a different unit rather than the one i wanted to click), i tried to hide buttons for 0.5 secs when clicking on one of them, but it didn't help and now i don't know what else to try
Mind i tested mainly on the priestess of the moon spells (as you can see, triggers for that hero are quite different than others) and the system is far from complete, plus there will be some other stuff for other things i tested on this map
Models i'm using are taken from the DGUI system http://www.wc3c.net/showthread.php?t=104931&page=3&highlight=DGUI
The problem is that if i spam click on a button, then another skill is casted (it seems that when i click twice or more on one of thoose buttons then i'll select a different unit rather than the one i wanted to click), i tried to hide buttons for 0.5 secs when clicking on one of them, but it didn't help and now i don't know what else to try
Mind i tested mainly on the priestess of the moon spells (as you can see, triggers for that hero are quite different than others) and the system is far from complete, plus there will be some other stuff for other things i tested on this map
Models i'm using are taken from the DGUI system http://www.wc3c.net/showthread.php?t=104931&page=3&highlight=DGUI
Attachments
Last edited: