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
Combining Items Problem
D3AD UPR1S1NG Offline
Member

Posts: 64
Threads: 21
Joined: Apr 2011
Reputation: 0
#3
RE: Combining Items Problem

(05-30-2011, 05:57 PM)triadtimes Wrote: The GiveItem script works like this:
GiveItem(string& asName, string& asType, string& asSubTypeName, string& asImageName, float afAmount);

So first make it look something like this:
GiveItem("hand_drill", "Puzzle", "drill", "hand_drill.tga", 0);
"hand_drill" being the name in the level editor
"Puzzle" being the type of item (most are puzzle check in the model editor)
"drill" being the name for the .lang file

Also have OnGameStart() not OnStart()

I hope that helps.

Sorry it hasn't worked Sad can I just ask do you need to have the actual finished drill in the map?

The Harrowing Tale Of Redendrew Mansion
05-30-2011, 07:10 PM
Find


Messages In This Thread
Combining Items Problem - by D3AD UPR1S1NG - 05-30-2011, 05:00 PM
RE: Combining Items Problem - by triadtimes - 05-30-2011, 05:57 PM
RE: Combining Items Problem - by D3AD UPR1S1NG - 05-30-2011, 07:10 PM
RE: Combining Items Problem - by triadtimes - 05-30-2011, 07:19 PM
RE: Combining Items Problem - by D3AD UPR1S1NG - 05-30-2011, 07:20 PM



Users browsing this thread: 1 Guest(s)