Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help combination does not work?
Author Message
zombiehacker595 Offline
Member

Posts: 141
Joined: Mar 2012
Reputation: 3
Post: #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 all posts by this user Quote this message in a reply
Post Reply 


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



User(s) browsing this thread: 1 Guest(s)