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
Path node issue...
AlexRobillard Offline
Junior Member

Posts: 41
Threads: 5
Joined: Jun 2011
Reputation: 0
#1
Path node issue...

I get an issue on the Monster2 path nodes something about no matching signatures, here is my script for the level.
void OnStart()
{
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "MonsterWalk1" , true , 1);
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger2" , "MonsterWalk2" , true , 1);
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "AddEnemyPatrolNode" , true , 1);
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger2" , "AddEnemyPatrolNode2" , true , 1);
AddEntityCollideCallback("Player" , "Door_Scare_Trigger" , "DoorScare" , true , 1);
}

void MonsterWalk1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("Monster1" , true);
AddEnemyPatrolNode("Monster1", "PathNodeArea_35", 3, "");
}

void MonsterWalk2(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("Monster2" , true);
AddEnemyPatrolNode2("Monster2", "PathNodeArea_20", 3.0f, "");
AddEnemyPatrolNode2("Monster2", "PathNodeArea_4", 10.0f, "");
AddEnemyPatrolNode2("Monster2", "PathNodeArea_58", 1.0f, "");
AddEnemyPatrolNode2("Monster2", "PathNodeArea_59", 2.0f, "");
}

void DoorScare(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("Door_Scare_Sound" , true);
SetEntityActive("Door_Scare_Effect" , true);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

Thanks for your time. Smile

(This post was last modified: 07-10-2011, 08:59 PM by AlexRobillard.)
07-10-2011, 08:24 PM
Find


Messages In This Thread
Path node issue... - by AlexRobillard - 07-10-2011, 08:24 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:28 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:28 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:29 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:31 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:33 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:34 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:36 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:36 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:38 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:46 PM



Users browsing this thread: 1 Guest(s)