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
Inventory.hps
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#3
RE: Inventory.hps

Ok, when you say change it to "Puzzle", do you mean just do this?


void OnGameStart()
{
AddCombineCallback("", "TetrodotoxinItem", "HalfDone", "CombineTexHalf", true);
}

void CombineTexHalf(string &in asItemA, string &in asItemB)
{
RemoveItem("TetrodotoxinItem");
RemoveItem("HalfDone");
GiveItem("Mixture", "chemical_container_full.ent", "Puzzle ", "chemical_container_full.tga", 1);
}


Or was the -- indicating i have to put something else in here?


And another question, because the inventory is OnGameStart, does that mean i have to reload he game for the script to take effect, or can i just quick map reload...
Its actually complete now, i cant belive all i had to do, was move the inventory.hps into the Intro folder. I feeeeell reeeaaaallyyyy stttuupppiiidddd. But thank you VERY VERY much for your help.
+1

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 02-01-2012, 08:00 AM by Tripication.)
02-01-2012, 07:54 AM
Find


Messages In This Thread
Inventory.hps - by Tripication - 02-01-2012, 07:22 AM
RE: Inventory.hps - by palistov - 02-01-2012, 07:50 AM
RE: Inventory.hps - by Tripication - 02-01-2012, 07:54 AM
RE: Inventory.hps - by palistov - 02-01-2012, 11:39 PM



Users browsing this thread: 1 Guest(s)