11-19-2013, 01:23 PM
Hey I was just wandering if anyone could give me a hand in getting this script to work as I have next to no idea on how to make combinations
Thanks in advance
Code:
//CHEMICAL TEST//
////////////////////
void chemtest(string &in asItemA, string &in asItemB)
{
PlayGuiSound("puzzle_acid_success", 1.0f);
RemoveItem(asItemA);
RemoveItem(asItemB);
GiveItem("glass_container_filled", "Puzzle", "glass_container_filled", "glass_container_full.tga", 1);
}
////////////////////////////
// Run at the start of the game.
void OnGameStart()
{
/////CHEMICAL TEST COMBO/////
AddCombineCallback("ChemicalCombo", "chem01", "chem02", "chemtest", false);
}
Thanks in advance