Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Multiplayer Inventory

Discussion in 'Multiplayer' started by UnityUser9860, Apr 3, 2016.

  1. UnityUser9860

    UnityUser9860

    Joined:
    Dec 8, 2015
    Posts:
    179
    Hi

    Im making a multiplayer sandbox game and everything works fine except from i need an inventory all players have their own unique version of that can be accesed by pressing E how would i go about doing this please help thank you :p
     
  2. rbuffalo

    rbuffalo

    Joined:
    Feb 5, 2016
    Posts:
    18
    You can pretty much follow any Inventory system tutorial/project available online. The only thing that you would need to implement as far as networking is picking up/dropping items over the network as well as equipping items over the network. Everything else is standard.
     
  3. UnityUser9860

    UnityUser9860

    Joined:
    Dec 8, 2015
    Posts:
    179
  4. MMOInteractiveRep

    MMOInteractiveRep

    Joined:
    Apr 7, 2015
    Posts:
    88
    Not completely true... You would want to store the Inventory on the server... The client would just know enough about the inventory to be able to display it. The actual Item class and what happens when you use an item and everything would all be server side.
     
    recon0303 likes this.