Frictional Games Forum (read-only)

Full Version: Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys, i need help with my inventory hps. I need combine item, two item, I wrote this script:///////////////////////////////////
////////////COMBINATIONS///////////
///////////////////////////////////

void Oleniym(string &in asItemA, string &in asItemB)
{
PlayGuiSound("15_make_hammer", 1.0f);
GiveItem("Oleniym", "chemical", "Oleniym", "hollow_needle.tga", 1);
}

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

/////COMBOS/////
AddCombineCallback("Water_Acrid", ""chemical_container_1", "chemical_container_epoxy_1", "Water_Acrid", true);
}
But it does not work. Please tell me my mistake.
instead of chemical use puzzle on GiveItem("Oleniym", "chemical", "Oleniym", "hollow_needle.tga", 1);
Thanks dude
that thing is type specific and hey np Smile
Edit: Never mind.