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'
Kullin Offline
Member

Posts: 218
Threads: 23
Joined: May 2013
Reputation: 3
#2
RE: When interact Entity 'Get Item'

GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);

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);

or

GiveItemFromFile(string& asName, string& asFileName);
Adds a single item to the player's inventory. This is meant to be used for debug mostly as it creates the actual item and then destroys it.

asName - internal name
asFileName - item to give + extension (.ent)
(This post was last modified: 06-09-2013, 02:41 PM by Kullin.)
06-09-2013, 02:39 PM
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 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)