Page 2 of 2

Re: Inventory help

Posted: Thu Nov 15, 2012 8:17 pm
by SpiderFighter
Komag wrote:
SpiderFighter wrote: For example:

Code: Select all

local startknife = spawn("knife")
party:getChampion(1):insertItem(7,startknife)
I use an even more direct version:

Code: Select all

party:getChampion(1):insertItem(7,spawn("knife"))
Ooh, I like that! Very sleek code, Komag. You might want to fix that typo though. ;) [WHAT typo??!]