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

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    idea [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



    after



    and very important



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


    Source Code Part

    By @Bombillo

    Last edited by LukasCCB; 19-10-16 at 12:05 PM. Reason: Source client code added


  2. #2
    Enthusiast aDavis is offline
    MemberRank
    Feb 2015 Join Date
    42Posts

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

    this is good work!!!

  3. #3
    Account Upgraded | Title Enabled! AlexRedd is offline
    MemberRank
    Jan 2014 Join Date
    310Posts

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

    Nice tut, thanks!
    i like your button, look my version ;)
    Spoiler:



  4. #4
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

    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

    Last edited by LukasCCB; 29-09-16 at 04:46 AM.

  5. #5
    Account Upgraded | Title Enabled! AlexRedd is offline
    MemberRank
    Jan 2014 Join Date
    310Posts

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

    Quote Originally Posted by lukasccb View Post
    @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?

  6. #6
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

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

    Compiled frondend.swf please :D

  7. #7
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

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

    @AlexRedd Yes one day

    - - - Updated - - -
    @asd4129 click File>Publish

  8. #8
    Play Alpha MMO DouglasPro is offline
    MemberRank
    Nov 2014 Join Date
    //HKEY//RJ_BRLocation
    392Posts

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

    Nice @lukasccb <3 ILOVE BRO

  9. #9
    ☆Dying Dawn☆ Bombillo is offline
    MemberRank
    Jan 2012 Join Date
    ValhallaLocation
    977Posts

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

    Love u bro, i'll post the client codes in a few moments*
    Last edited by Bombillo; 20-06-16 at 04:53 PM.

  10. #10
    Member OnlyHard is offline
    MemberRank
    Oct 2014 Join Date
    PT_EN_es_br_itLocation
    78Posts

    big grin 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 !

  11. #11
    Account Upgraded | Title Enabled! Returnerzx is offline
    MemberRank
    Apr 2011 Join Date
    236Posts

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

    how to build flash ?

  12. #12
    Member OnlyHard is offline
    MemberRank
    Oct 2014 Join Date
    PT_EN_es_br_itLocation
    78Posts

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

    Quote Originally Posted by Returnerzx View Post
    how to build flash ?
    1º ->you need this files By @AlexRedd v3 src's
    2º -> adobe flash cs6
    3º - > Follow the steps
    Last edited by OnlyHard; 20-06-16 at 05:12 PM.

  13. #13
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

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

    Quote Originally Posted by OnlyHard View Post
    1º ->you need this files By @AlexRedd
    2º -> adobe flash cs6
    3º - > Follow the steps
    wft!! no no.


  14. #14
    Account Upgraded | Title Enabled! Returnerzx is offline
    MemberRank
    Apr 2011 Join Date
    236Posts

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

    Quote Originally Posted by lukasccb View Post
    wft!! no no.

    Ho Thank you :)

  15. #15
    My Status --> LukasCCB is offline
    MemberRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,190Posts

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

    By @Bombillo
    Source Code Part


    ​Post updated



Page 1 of 2 12 LastLast

Advertisement