Style OverZ system, move all items from your Inventory For Global Inventory
If you already have the client part of the code and can not do flash, this is the solution.
Make interface part,is easy, just view prints
I using codexpo flash pro cs6
after
and very important
Open \classes\warz\frontend\InventoryScreen.as
Search:
Add bellowCode:Inventory.BtnChange.Text.Text.text = "$FR_PAUSE_INVENTORY_CHANGE_BACKPACK";
Code:// [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:
Add bellow:Code:Inventory.PlateBig.visible = survivor.globalInventory; Inventory.BtnChange.visible = survivor.globalInventory; Inventory.SplashScreenNoGlobalInv.visible = !survivor.globalInventory;
Search:Code:Inventory.BtnMoveAll.visible = survivor.globalInventory; // [LCCB] - MoveAllItems
Add bellow:Code:else if (button == "BtnChange") { Inventory.BtnChange.State = "off"; Inventory.BtnChange.gotoAndPlay("out"); FrontEndEvents.eventOpenBackpackSelector (); }
Code:else if (button == "BtnMoveAll") { Inventory.BtnMoveAll.State = "off"; Inventory.BtnMoveAll.gotoAndPlay("out"); FrontEndEvents.eventMoveAllItems(); }
Open \classes\warz\events\FrontEndEvents.as
Search:
Add bellow:Code:public static function eventOpenBackpackSelector () { send ("eventOpenBackpackSelector"); }
Code:public static function eventMoveAllItems () { send ("eventMoveAllItems"); }
Source Code Part
By @Bombillo







Reply With Quote![[Tutorial] Move all items for Global Inventory - Flash Part](http://ragezone.com/hyper728.png)



