Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Box thaler chest help!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Box thaler chest help!

PHP Code: (Select All)
GiveItem(stringasNamestringasTypestringasSubTypeNamestringasImageNamefloat afAmount); 

This will add an item. Parameters are: Internal name, Entity type, Lang Entry, Icon filename, amount.

You can also use the GiveItemFromFile. It seems to be a lot easier, but it's tagged as a debug function although I do not know why.

PHP Code: (Select All)
GiveItemFromFile(stringasNamestringasFileName); 

Here you just enter internal name and entity filename, like potion_health.ent.

12-11-2014, 12:29 AM
Find


Messages In This Thread
Box thaler chest help! - by A.M Team - 12-10-2014, 09:09 PM
RE: Box thaler chest help! - by Mudbill - 12-10-2014, 09:27 PM
RE: Box thaler chest help! - by A.M Team - 12-10-2014, 10:04 PM
RE: Box thaler chest help! - by A.M Team - 12-11-2014, 07:26 PM
RE: Box thaler chest help! - by Mudbill - 12-11-2014, 12:29 AM
RE: Box thaler chest help! - by Mudbill - 12-11-2014, 09:35 PM



Users browsing this thread: 1 Guest(s)