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
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#6
RE: Combination

(03-06-2012, 02:35 AM)HollowRiku13 Wrote: Create an inventory.hps, move it to your maps folder, then add this:

Spoiler below!
//COMBINE HAMMER//
////////////////////

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

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

/////HAMMER & CHIPPER COMBO/////
AddCombineCallback("hammer_chipper", "Nameofyourhammerhere", "Nameofyourchipperhere", "hammer_chipper", false);





}

I hope it works. Wink
It did indeed, thank you sir. It was just so dissapointing, I really thought I could make it work before... even my friend could'nt... I had really given up.... haha, I was about to make a script about throwing a rock at the wall instead xD But no need for that now, thx again.



03-06-2012, 08:08 AM
Find


Messages In This Thread
Combination - by Saren - 03-05-2012, 05:51 PM
RE: Combination - by Saren - 03-06-2012, 01:41 AM
RE: Combination - by Your Computer - 03-06-2012, 02:06 AM
RE: Combination - by Saren - 03-06-2012, 02:13 AM
RE: Combination - by HollowRiku13 - 03-06-2012, 02:35 AM
RE: Combination - by Saren - 03-06-2012, 08:08 AM
RE: Combination - by Datguy5 - 03-06-2012, 02:02 PM
RE: Combination - by Saren - 03-06-2012, 02:03 PM
RE: Combination - by Datguy5 - 03-06-2012, 02:05 PM
RE: Combination - by Saren - 03-06-2012, 02:07 PM
RE: Combination - by Datguy5 - 03-06-2012, 02:10 PM
RE: Combination - by Saren - 03-06-2012, 02:11 PM
RE: Combination - by Datguy5 - 03-06-2012, 02:14 PM
RE: Combination - by Saren - 03-06-2012, 02:26 PM
RE: Combination - by Datguy5 - 03-06-2012, 02:39 PM
RE: Combination - by Saren - 03-06-2012, 02:52 PM
RE: Combination - by Datguy5 - 03-06-2012, 02:54 PM
RE: Combination - by HollowRiku13 - 03-06-2012, 09:50 PM
RE: Combination - by Saren - 03-06-2012, 10:50 PM



Users browsing this thread: 1 Guest(s)