01001100 01000011 01000011 01000010
Decennium
- Joined
- Apr 23, 2013
- Messages
- 1,180
- Reaction score
- 2,158
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 bellow
Search:
Add bellow:
Search:
Add bellow:
Open \classes\warz\events\FrontEndEvents.as
Search:
Add bellow:
Source Code Part
By @Bombillo
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:
Code:
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:
Code:
Inventory.PlateBig.visible = survivor.globalInventory;
Inventory.BtnChange.visible = survivor.globalInventory;
Inventory.SplashScreenNoGlobalInv.visible = !survivor.globalInventory;
Code:
Inventory.BtnMoveAll.visible = survivor.globalInventory; // [LCCB] - MoveAllItems
Search:
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:
Code:
public static function eventOpenBackpackSelector ()
{
send ("eventOpenBackpackSelector");
}
Code:
public static function eventMoveAllItems ()
{
send ("eventMoveAllItems");
}
Source Code Part
By @Bombillo
Last edited:

