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:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oh man....
AlexRobillard Offline
Junior Member

Posts: 41
Threads: 5
Joined: Jun 2011
Reputation: 0
#1
Oh man....

I try not to bother anyone but I decided to make an account and ask for help with this script that wont work. I probably made a simple and dumb mistake but here is the script:
////////////////////////////
// Run first time starting map
void OnStart()
{
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "MonsterWalk1" , true , 1);
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "AddEnemyPatrolNode" , true , 1);
}

void AddEnemyPatrolNode(Monster1, PathNodeArea_35, 3, string& asAnimation);

void AddEnemyPatrolNode(Monster1, PathNodeArea_35, 3, string& asAnimation);

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

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

}

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

}

Thanks.
06-28-2011, 03:47 PM
Find


Messages In This Thread
Oh man.... - by AlexRobillard - 06-28-2011, 03:47 PM
RE: Oh man.... - by Russ Money - 06-28-2011, 03:55 PM
RE: Oh man.... - by AlexRobillard - 06-28-2011, 04:10 PM
RE: Oh man.... - by DamnNoHtml - 06-28-2011, 04:17 PM
RE: Oh man.... - by AlexRobillard - 06-28-2011, 04:22 PM
RE: Oh man.... - by rojkish - 06-28-2011, 07:03 PM
RE: Oh man.... - by Kyle - 06-28-2011, 05:21 PM
RE: Oh man.... - by AlexRobillard - 06-28-2011, 06:44 PM
RE: Oh man.... - by AlexRobillard - 06-28-2011, 09:00 PM



Users browsing this thread: 1 Guest(s)