• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[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