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
When interact Entity 'Get Item'
VeNoMzTeamHysterical Offline
Member

Posts: 240
Threads: 36
Joined: Dec 2012
Reputation: 3
#3
RE: When interact Entity 'Get Item'

(06-09-2013, 02:39 PM)Kullin Wrote: GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);
Adds an item to the inventory of the player. Note that the item does not have to exist as entity in the world to be able to do this.
asName - internal name
asType - item to give
asSubTypeName - item name for .lang file
asImageName - For exemple: void GiveItem(string& asName, string& asType, “chemical_container_full”, “chemical_container_full.tga” , float afAmount); The image is from <nowiki> <nowiki> <nowiki>\ </nowiki> </nowiki> </nowiki> graphics\Item\chemical_container_full.tga : is the image which will appear in Inventory -
THanks!

http://www.frictionalgames.com/forum/thread-21719.html
Evil Awaking Work In Progress!
Hours Spend 472.
06-09-2013, 02:39 PM
Website Find


Messages In This Thread
RE: When interact Entity 'Get Item' - by Kullin - 06-09-2013, 02:39 PM
RE: When interact Entity 'Get Item' - by VeNoMzTeamHysterical - 06-09-2013, 02:39 PM
RE: When interact Entity 'Get Item' - by Kullin - 06-09-2013, 02:43 PM
RE: When interact Entity 'Get Item' - by Kullin - 06-09-2013, 03:04 PM
RE: When interact Entity 'Get Item' - by Kullin - 06-09-2013, 03:16 PM
RE: When interact Entity 'Get Item' - by Kullin - 06-09-2013, 03:28 PM
RE: When interact Entity 'Get Item' - by Kullin - 06-09-2013, 03:33 PM



Users browsing this thread: 1 Guest(s)