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
Combining Items Problem
D3AD UPR1S1NG Offline
Member

Posts: 64
Threads: 21
Joined: Apr 2011
Reputation: 0
#1
Combining Items Problem

I've been trying to combine these items to create the drill except I keep getting an error saying Combination Does Not Work anyone know what's wrong with this script?

void OnStart()
{
AddCombineCallback("", "hand_drill_part01_1", "hand_drill_part03_1", "Combine1", false);
}

void Combine1(string &in asItemA, string &in asItemB)
{
PlayGuiSound("12_make_drill.ogg", 100.0);
GivePlayerSanity(50.0);
RemoveItem(asItemA);
RemoveItem(asItemB);
GiveItem("", "hand_drill", "FinishedDrill", "hand_drill.tga", 0);
}

and yes it is in Inventory.hps Smile anyone got any ideas?

The Harrowing Tale Of Redendrew Mansion
05-30-2011, 05:00 PM
Find


Messages In This Thread
Combining Items Problem - by D3AD UPR1S1NG - 05-30-2011, 05:00 PM
RE: Combining Items Problem - by triadtimes - 05-30-2011, 05:57 PM
RE: Combining Items Problem - by D3AD UPR1S1NG - 05-30-2011, 07:10 PM
RE: Combining Items Problem - by triadtimes - 05-30-2011, 07:19 PM
RE: Combining Items Problem - by D3AD UPR1S1NG - 05-30-2011, 07:20 PM



Users browsing this thread: 1 Guest(s)