[Tutorial] Move all items for Global Inventory - Flash Part

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

LukasCCB - [Tutorial] Move all items for Global Inventory - Flash Part - RaGEZONE Forums


after

LukasCCB - [Tutorial] Move all items for Global Inventory - Flash Part - RaGEZONE Forums


and very important

LukasCCB - [Tutorial] Move all items for Global Inventory - Flash Part - RaGEZONE Forums


Open \classes\warz\frontend\InventoryScreen.as

Search:
Code:
Inventory.BtnChange.Text.Text.text = "$FR_PAUSE_INVENTORY_CHANGE_BACKPACK";
Add bellow
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;
Add bellow:
Code:
Inventory.BtnMoveAll.visible = survivor.globalInventory; // [LCCB] - MoveAllItems

Search:


Code:
else if (button == "BtnChange")
{
    Inventory.BtnChange.State = "off";
    Inventory.BtnChange.gotoAndPlay("out");
 
    FrontEndEvents.eventOpenBackpackSelector ();
}
Add bellow:


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");
}
Add bellow:


Code:
public static function eventMoveAllItems ()
{
    send ("eventMoveAllItems");
}

LukasCCB - [Tutorial] Move all items for Global Inventory - Flash Part - RaGEZONE Forums


Source Code Part

By @Bombillo

​
 
Last edited:
stack items in global inventory? nice! realy helpful. maybe you want to share?
Hello, I'm sorry to disturb you.Can you give me a copy of your M200 firearms file?
After I get there from Asian American clothing accessories, including clip is not displayed.
thank you。
Sorry for my English.



stack items in global inventory? nice! realy helpful. maybe you want to share?
Hello, I'm sorry to disturb you.Can you give me a copy of your M200 firearms file?
After I get there from Asian American clothing accessories, including clip is not displayed.
thank you。
Sorry for my English.
 
Hey Lukas, how did you get your FrontEnd.swf into .fla with all that info?
I did export mine to fla but it only have the graphic info, dunno what i'm doing wrong.
 
Back