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
#7
RE: Frustrating combination problem.

(06-04-2014, 06:27 PM)DnALANGE Wrote: I guess ive got you on Skype already right..
Ill send some stuff there and we will fix it.
redmaster12345 = skype

Here is my Inventor.hpl
PHP Code: (Select All)
///////////////////////////////////
//Matches//
void Matchboxscript(string &in asItemA, string &in asItemB)
{
    
PlayGuiSound("19_attach_needle", 1.0f);
    
    
AddPlayerSanity(10);
    
    
RemoveItem(asItemA); RemoveItem(asItemB);
    
    
GiveItem("FullyMatchBox", "Puzzle", "FullyMatchBox", "FullMatchbox.tga", 0);    
}
/////////////////////////////////



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

    
//---- Matches ----//
    
AddCombineCallback("Full", "MatchBox_2", "MatchBox_4", "Matchboxscript", false);

} 

---
Try add copper_tube_and_needle.tga", 1); // Change the 1 in 0 try that... ( look at my inventory )

1) i sent you a request to add me on skype,

2) by using your script i remaked my whole inventory .hps file, now it looks like this:

PHP Code: (Select All)
///////////////////////////////////
//Matches//
void Matchboxscript(string &in asItemA, string &in asItemB)
{
    
PlayGuiSound("15_make_hammer", 1.0f);
    
    
AddPlayerSanity(10);
    
    
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()
{

    
//---- Matches ----//
    
AddCombineCallback("Full", "item1", "stone_chipper_1", "Matchboxscript", false);

} 

And it still does not work.
06-04-2014, 07:38 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 Slanderous - 06-04-2014, 07:38 PM
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)