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
AddEntityCollideCallback bug, need help
omiwrench8k Offline
Junior Member

Posts: 6
Threads: 2
Joined: Nov 2011
Reputation: 0
#1
AddEntityCollideCallback bug, need help

Alright, so when I try running this code: void OnEnter ( )
{
AddEntityCollideCallback ("Player", "PlayerCollide",

"MonsterFunction", true, 1);
AddEntityCollideCallback ("monster_grunt_2", "MonsterCollide_1"
"MonsterTwoDissapear", true, 1);

}
void MonsterFunction (string &in asParent, string &in asChild, int

alState){
SetEntityActive ("severant_grunt_1", true);
ShowEnemyPlayerPosition ("monster_grunt");
}

void OnLeave ( ){

}

It gives me the error message: main(4,2) : ERR : No matching signatures to 'AddEntityCollideCallback(string@&, string@&, const bool, const uint)'

Anyone know what the problem is? Thanks!
11-15-2011, 10:32 PM
Find


Messages In This Thread
AddEntityCollideCallback bug, need help - by omiwrench8k - 11-15-2011, 10:32 PM



Users browsing this thread: 1 Guest(s)