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
Script Help Frustrating combination problem.
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#1
Frustrating combination problem.

Hey guys,

I was making a combination for my mod (connecting hollow needle + copper tube), made inventory.hps, placed it into my custom story's maps folder, and when I try to combine those items via inventory, it simply doesnt work and shows me "the combination does not work".

The item names 100% match the level editor ones, so you know, yeah.

My inventory.hps file

PHP Code: (Select All)
///////////////////////////////////
////////////COMBINATIONS///////////
///////////////////////////////////

void Coppers(string &in asItemAstring &in asItemB)
{
RemoveItem(asItemA); RemoveItem(asItemB);
PlayGuiSound("15_make_hammer"1.0f);
GiveItemFromFile("copper_tube_and_needle""copper_tube_and_needle.ent");
GiveItem("copper_tube_and_needle""copper_tube_and_needle""copper_tube_and_needle""copper_tube_and_needle.tga"1);
}


////////////////////////////
// Run at the start of the game.
void OnGameStart()
{

/////COMBOS/////
AddCombineCallback("""item1""stone_chipper_1""Coppers"true);

06-03-2014, 09:20 PM
Find


Messages In This Thread
Frustrating combination problem. - by Slanderous - 06-03-2014, 09:20 PM
RE: Frustrating combination problem. - by Mudbill - 06-03-2014, 11:51 PM
RE: Frustrating combination problem. - by Mudbill - 06-04-2014, 01:55 AM
RE: Frustrating combination problem. - by Mudbill - 06-05-2014, 01:54 PM
RE: Frustrating combination problem. - by Neelke - 06-05-2014, 03:21 PM



Users browsing this thread: 1 Guest(s)