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
Combination doesn't work.
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#1
Combination doesn't work.

Hey guys,

So I was making a stone and a chipper combining puzzle, I have the inventory.hps:

PHP Code: (Select All)
void OnGameStart()
{
    
AddCombineCallback("hammer_chipper""hammer""chipper""hammer_chipper"false);
}

void hammer_chipper(string &in asItemAstring &in asItemB)
{
    
AddPlayerSanity(10);
    
PlayGuiSound("15_make_hammer"1.0f);
    
RemoveItem(asItemA); RemoveItem(asItemB);
    
GiveItem("stone_hammer_chipper""Puzzle""stone_hammer_chipper""stone_hammer_chipper.tga"0);    


The names in the inventory.hps and Level Editor are surely the same, I chcecked it like 10 times, and when I try to combine the hammer with chipper in-game it doesn't work.

The inventory.hps is ofc located in my maps folder.

Any thoughts on what is causing this problem? Any help will be appreciated.
03-24-2014, 04:54 PM
Find


Messages In This Thread
Combination doesn't work. - by Slanderous - 03-24-2014, 04:54 PM
RE: Combination doesn't work. - by Neelke - 03-24-2014, 05:07 PM
RE: Combination doesn't work. - by Slanderous - 03-24-2014, 05:19 PM
RE: Combination doesn't work. - by Mudbill - 03-24-2014, 06:51 PM
RE: Combination doesn't work. - by Slanderous - 03-24-2014, 08:22 PM
RE: Combination doesn't work. - by Mudbill - 03-24-2014, 10:34 PM



Users browsing this thread: 1 Guest(s)