[Tutorial] Move all items for Global Inventory - Flash Part
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
http://image.prntscr.com/image/ea499...95d6e20be.jpeg
after
http://image.prntscr.com/image/b7679...0c091b469.jpeg
and very important
http://image.prntscr.com/image/f7b54...221ae18f1.jpeg
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");
}
http://image.prntscr.com/image/75dfc...0495a1127.jpeg
Source Code Part
By @
Bombillo
Re: [Tutorial] Move all items for Global Inventory - Flash Part
this is good work!!!:ott:
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Nice tut, thanks!
i like your button, look my version ;)
Re: [Tutorial] Move all items for Global Inventory - Flash Part
@AlexRedd I thought to do it, but would not fit because I have the stack item
https://i.gyazo.com/983ae53968013811...862ed0e732.png
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Quote:
Originally Posted by
lukasccb
@
AlexRedd I thought to do it, but would not fit because I have the stack item
stack items in global inventory? nice! realy helpful. maybe you want to share?
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Compiled frondend.swf please :D
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Nice @lukasccb <3 ILOVE BRO
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Love u bro, i'll post the client codes in a few moments*
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Thank you for sharing with us, but after all amazing. yoloo yeaaa! <3
- As Batman , you are the light in the darkness !
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Quote:
Originally Posted by
Returnerzx
how to build flash ?
1º ->you need this files By @AlexRedd v3 src's
2º -> adobe flash cs6
3º - > Follow the steps
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Quote:
Originally Posted by
OnlyHard
1º ->you need this files By @AlexRedd
2º -> adobe flash cs6
3º - > Follow the steps
wft!! no no.
http://image.prntscr.com/image/da89d...5be7810c9.jpeg
Re: [Tutorial] Move all items for Global Inventory - Flash Part
Quote:
Originally Posted by
lukasccb
Ho Thank you :)
Re: [Tutorial] Move all items for Global Inventory - Flash Part