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
triadtimes Offline
Senior Member

Posts: 508
Threads: 16
Joined: Jan 2011
Reputation: 21
#2
RE: Combining Items Problem

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.

05-30-2011, 05:57 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: 2 Guest(s)