HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need Help : for some inventory related trigger

10-07-2006, 05:05 PM#1
zen87
Uhm ok im trying to make a certain item in my iventory
- Unable to be dropped (unit "stop" event doesn't work... the item dropped AFTER the hero are stopped)
- Unable to me moved to other slot (eg, itemslot 1 to itemslot 2)
- Able to be right clicked (thats the problem that i cant use undroppable on the item)

basically if will be exactly like vex's Invx ButtonsIcon for the heroes in slot 5 and slot 6, i tried to extract part of the code and it seems impossible for jass beginner like myself (i'm still bad in the handle stuff and such...)

thanks for the help
10-07-2006, 05:17 PM#2
BertTheJasser
Mke item undropable, start a timer of 0. and make it droppable again.
10-08-2006, 06:34 AM#3
zen87
Quote:
Originally Posted by BertTheJasser
Mke item undropable, start a timer of 0. and make it undroppable again.
uhm, yeah it worked for the case of moving item in inventory, but not the dropping part, the item still can be dropped, it seems that the drop order fires after the undropable trigger
10-08-2006, 08:13 AM#4
BertTheJasser
It was not expected to slove any other problem than the drag&dropn through inventory.
For the second problem, I guess, just register when a unit loses an item, and readd it (maybe you need a timer of 0. and then do the actions)