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
Script Help AddCombineCallback Error No Signiture
heyitsrobert97 Offline
Member

Posts: 68
Threads: 29
Joined: Jan 2012
Reputation: 0
#1
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);
}

===================================================================================


This Darn House! , Four Doors, Youtube
04-10-2012, 06:54 AM
Find


Messages In This Thread
AddCombineCallback Error No Signiture - by heyitsrobert97 - 04-10-2012, 06:54 AM



Users browsing this thread: 1 Guest(s)