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 combination does not work?
zombiehacker595 Offline
Member

Posts: 141
Threads: 51
Joined: Mar 2012
Reputation: 3
#1
combination does not work?



so i added this to my inventory.hps file i have 3 working combinations all the same just different names in that file but this one doesnt seem to want to wrok any help?

//COMBINE TUBE//
////////////////////

void NEEDLE_TUBE(string &in asItemA, string &in asItemB)
{
PlayGuiSound("15_make_hammer", 1.0f);
RemoveItem(asItemA); RemoveItem(asItemB);
GiveItem("copper_tube_and_needle", "Puzzle", "copper_tube_and_needle", "copper_tube_and_needle.tga", 0);
}

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

/////NEEDLE & TUBE COMBO/////
AddCombineCallback("NEEDLE_TUBE", "copper_tube_1", "hollow_needle_1", "NEEDLE_TUBE", false);



}
04-24-2012, 11:22 AM
Find


Messages In This Thread
combination does not work? - by zombiehacker595 - 04-24-2012, 11:22 AM
RE: combination does not work? - by Dutton - 04-24-2012, 11:35 AM
RE: combination does not work? - by Dutton - 04-24-2012, 12:30 PM



Users browsing this thread: 1 Guest(s)