(05-13-2012, 08:48 AM)SilentStriker Wrote: http://www.frictionalgames.com/forum/thr...ht=Combine
Hmm don't really get the full script file :S
"///////////////////////////////////
////////////COMBINATIONS///////////
///////////////////////////////////
void AquaRegia(string &in asItemA, string &in asItemB)
{
RemoveItem(asItemA); RemoveItem(asItemB);
PlayGuiSound("15_make_hammer", 1.0f);
GiveItem("flask01_aqua_regia", "flask01_aqua_regia", "aqua_regia", "flask01_aqua_regia.tga", 1);
}
void AuricHydro(string &in asItemA, string &in asItemB)
{
RemoveItem(asItemA); RemoveItem(asItemB);
PlayGuiSound("15_make_hammer", 1.0f);
GiveItem("flask01_orpiment", "flask01_orpiment", "auric_hydroxide", "flask01_orpiment.tga", 1);
}
////////////////////////////
// Run at the start of the game.
void OnGameStart()
{
/////COMBOS/////
AddCombineCallback("", "chemical_container_1", "vitriol", "AquaRegia", true);
AddCombineCallback("", "flask01_aqua_regia", "ammonia", "AuricHydro", true);
}"
Can you explain that litle more?
Like this "AddCombineCallback("", "ItemA", "ItemB", "func ", true); etc ???