Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Help] Drag item Condition (Fla)

Joined
Sep 3, 2013
Messages
903
Reaction score
227
Hello, i try make trash item , is work but

I do not know how to put a condition to drag an item to a particular place

HgGLSz6 - [Help] Drag item Condition (Fla) - RaGEZONE Forums



I think I have to use a maske :

X67RHNJ - [Help] Drag item Condition (Fla) - RaGEZONE Forums




I have idea

Code:
if (isOK &&
                             (DraggedItem is warz.pause.InvBackpackHotSlot ||
                             DraggedItem is warz.pause.InvBackpackSlot ||
                             DraggedItem is warz.pause.InvMainSlotLong ||
                             DraggedItem is warz.pause.InvMainSlotShort))
                    {

I try use code for inventory move item in backpack



I need put mask for use that ? DraggedItem is warz.pause.TrashMenu

Code:
if ((DraggedItem is warz.pause.TrashMenu))
                        {
                        
                            var    dropSlot = curSlot;
                            PauseEvents.eventTrashItem (dropSlot, 1);
                        
                        }
 

Attachments

You must be registered for see attachments list
Back
Top