Search Unity

How would i go about making a in-game Merchant System(Trading,Buying,Selling)?

Discussion in 'Scripting' started by Sean, Apr 4, 2011.

  1. Sean

    Sean

    Joined:
    Feb 3, 2011
    Posts:
    34
    I've been asked to make a merchant system for my group, and was wondering if anyone had previously made one to give me a good idea of what it needs to work and some tips on how to do it.
     
  2. 2dfxman1

    2dfxman1

    Joined:
    Oct 6, 2010
    Posts:
    1,065
    If(button money >= itemprice)
    {
    giveItem();
    }

    :)
     
  3. Sean

    Sean

    Joined:
    Feb 3, 2011
    Posts:
    34
    Thats a start lol.