AddCombineCallback Error No Signiture
Hi I added 2 combine callbacks but when the game is loading it says no signiture. you first mix 2 chemical containers to make 1 then mix that with another and your done but it says No Matching Signuture Why?
==================================================================================
void attop(string &in asTimer)
{
FadeIn(2.0f);
CheckPoint ("checkpoint3", "bunkercheckpoint3", "", "", "");
AddCombineCallback("", "chemical_4", "chemical_5", mixonetwo, true); <---- Error No Matching Signiture
}
void mixonetwo(string &in asItemA, string &in asItemB)
{
GiveItem("chemical_nearly_finished", "chemical_container_full", "mixnearly", "chemical_container_full.tga", 1.0f);
AddCombineCallback("", "chemical_6", "chemical_nearly_finished", mixtwothree, true); < Error
}
void mixtwothree(string &in asItemA, string &in asItemB)
{
GiveItem("chemical_finished", "chemical_container_full", "mixdone", "chemical_container_full.tga", 1.0f);
PlaySoundAtEntity("", "quest_completed.snt", "Player", 0, false);
AddUseItemCallback("", "chemical_finished", "sewer_grate", "blowexit", true);
AddUseItemCallback("", "chemical_finished", "sewer_grate2", "blowexit", true);
}
void blowexit(string &in asItem, string &in asEntity)
{
RemoveItem("chemical_finished");
StartEffectFlash(0.0f, 1.0f, 0.2f);
PlaySoundAtEntity("", "explosion_rock_large.snt", "Player", 0, false);
SetEntityActive("sewer_grate", false);
SetEntityActive("sewer_grate2", false);
AddEntityCollideCallback("Player", "endinggame", "credittimer", true, 1);
}
void credittimer(string &in asParent, string &in asChild, int alState)
{
FadeOut(3.0f);
AddTimer("goodbye", 3.5f, "cya");
}
void cya(string &in asTimer)
{
StopMusic(1.0f, 0);
StartCredits("Music_02", true, "halldoormessage", "endofgame", 0);
}
===================================================================================
|