The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
"Puzzle"
Froge Offline
Posting Freak

Posts: 2,955
Threads: 176
Joined: Jul 2012
Reputation: 125
#1
"Puzzle"

For the GiveItem function:

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 - image.tga

I'm a bit confused about the difference between asName and asType. I'm thinking asName is the name of the item to give, but then what's asType? In FG's "Inventory.hps" folder I noticed that for asType under all the GiveItem functions they put "Puzzle."

[Image: scaled.php?server=405&filename=puzzleuo.png&res=landing]

So what does that do?

[Image: p229xcq]
08-30-2012, 05:01 AM
Find


Messages In This Thread
"Puzzle" - by Froge - 08-30-2012, 05:01 AM
RE: "Puzzle" - by Adny - 08-30-2012, 05:07 AM
RE: "Puzzle" - by Froge - 08-30-2012, 05:25 AM
RE: "Puzzle" - by Your Computer - 08-30-2012, 06:27 AM
RE: "Puzzle" - by Zaffre - 09-01-2012, 01:30 AM
RE: "Puzzle" - by Your Computer - 09-01-2012, 07:34 AM



Users browsing this thread: 1 Guest(s)