HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Drag and Drop (GUI!)

10-14-2007, 09:34 PM#1
SkriK
As some of you might and might not have noticed, i'm attempting to make an item system only based on GUI triggers. I've come pretty far to it's completion but the last piece is the "drag and drop" function. And yes, it's the function that's in AAA's inventory system. (AAA team will be repped for original ofcourse)

So my question is: Can someone give me a hint of how it would look in GUI?

It's only the event/if i'm not getting the hang of.
Trigger:
Collapse Events
Unit - (Unit) is ordered to (Move Item) to slot (X)
Collapse Conditions
Item-Type is Equal to Item-Type
Collapse Actions
Do this and that.
'Cept that that event doesn't exist. :( Please help!
10-14-2007, 11:18 PM#2
Vexorian
You've ran out of luck.

Reason: you can't use order integers directly in GUI.

So, you'll need at least a WE addon with a virtual ability to do it or use "Custom Script"
10-15-2007, 12:32 AM#3
SkriK
Aww, ok. Though i have a last question
Trigger:
Events
Unit - A Unit loses an item
Does it work to refer to that [Lost item] as last dropped item?
10-15-2007, 05:13 AM#4
Blackroot
Converting jass to gui? Counterprogressive blastphame I say! (*cough* learnjass *cough)

That's all i have to say reguarding the matter.
10-15-2007, 05:17 AM#5
MaD[Lion]
unit loses item happens when item is dropped or removed. Which means if an item drops and removes at "same time" it will occur twice