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
My custom level keeps crashing
Starkiller2000 Offline
Junior Member

Posts: 5
Threads: 3
Joined: Mar 2011
Reputation: 0
#1
Solved: 8 Years, 2 Months ago My custom level keeps crashing

It keeps saying unexpected end of file, I am trying to make the brute patrol in front of the character patrol out of sight till he collides with a script thingy and then disappear. But it will not work, I need some help.

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

AddEnemyPatrolNode(servant_brute_1","PathNodeArea_1",0,"");
{


AddEnemyPatrolNode("servant_brute_1","PathNodeArea_2",4,"");
{


}
}
}

void EnemyDisabled(string &in asEntity, string &in asType)
{

if(GetEntitiesCollide("servant_brute_1", "ScriptArea_1"))
{

SetPropActiveAndFade("servant_brute_1", true, 0.5f);

}
}





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

}
03-30-2011, 02:38 AM
Find


Messages In This Thread
My custom level keeps crashing - by Starkiller2000 - 03-30-2011, 02:38 AM



Users browsing this thread: 1 Guest(s)