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
Script Help Naming combined items?
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#1
Naming combined items?

so i combined glass jar with acid got a jar of acid but because it is combined i couldnt really add text entry in hpl editor so how do i add a name and desc to a combined item? Smile
(This post was last modified: 04-02-2012, 02:49 PM by zombiehacker595.)
04-02-2012, 02:44 PM
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#2
RE: Naming combined items?

I believe it works like this:

GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);
I think it is the "string& asSubTypeName" if you can trust the wiki
http://wiki.frictionalgames.com/hpl2/amn...#inventory

"What you think is irrelevant" - A character of our time

A Christmas Hunt
04-02-2012, 03:57 PM
Find




Users browsing this thread: 1 Guest(s)