LukasCCB icon

MoveAllItemsThread - Flash part

LukasCCB | PRO | 06/20/16 11:46:25 AM UTC | 0 ⭐ | 10706 👁️ | Never ⏰ | []
ActionScript 3 |

0 B

|

None

|

0 👍

/

0 👎

Make interface part, is easy, just view prints
 
Print1: http://image.prntscr.com/image/ea4999dc010d492dbe24b5295d6e20be.jpeg
Print2: http://image.prntscr.com/image/b76795ca2dec47998326aff0c091b469.jpeg
Print3: http://image.prntscr.com/image/f7b54c720e794975b82b101221ae18f1.jpeg (very important)
 
Open \classes\warz\frontend\InventoryScreen.as
 
Search:
Inventory.BtnChange.Text.Text.text = "$FR_PAUSE_INVENTORY_CHANGE_BACKPACK";
 
Add bellow
// [LCCB] - MoveAllItems
Inventory.BtnMoveAll.Btn.addEventListener(MouseEvent.MOUSE_OVER, ButtonRollOverFn);
Inventory.BtnMoveAll.Btn.addEventListener(MouseEvent.MOUSE_OUT, ButtonRollOutFn);
Inventory.BtnMoveAll.Btn.addEventListener(MouseEvent.CLICK, ButtonPressFn);
 
Search:
Inventory.PlateBig.visible = survivor.globalInventory;
Inventory.BtnChange.visible = survivor.globalInventory;
Inventory.SplashScreenNoGlobalInv.visible = !survivor.globalInventory;
 
Add bellow:
Inventory.BtnMoveAll.visible = survivor.globalInventory; // [LCCB] - MoveAllItems
 
Search:
else if (button == "BtnChange")
{
    Inventory.BtnChange.State = "off";
    Inventory.BtnChange.gotoAndPlay("out");
 
    FrontEndEvents.eventOpenBackpackSelector ();
}
 
Add bellow:
else if (button == "BtnMoveAll")
{
    Inventory.BtnMoveAll.State = "off";
    Inventory.BtnMoveAll.gotoAndPlay("out");
 
    FrontEndEvents.eventMoveAllItems();
}
 
Open \classes\warz\events\FrontEndEvents.as
 
Search:
public static function eventOpenBackpackSelector ()
{
    send ("eventOpenBackpackSelector");
}
 
Add bellow:
public static function eventMoveAllItems ()
{
    send ("eventMoveAllItems");
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎