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
Why is my custom story not working!?!?!?
Gamerlord08 Offline
Junior Member

Posts: 8
Threads: 1
Joined: Dec 2012
Reputation: 0
#1
Why is my custom story not working!?!?!?

hello users, i am experiencing a problem with my custom story, it says when i boot up, "Unexpected end of file" i am very, VERY new to coding, so i might have a obvious flaw somewhere, but i cannot find it, here it is:

///////////////////////
// Run when entering map
void OnStart()
{
PlayMusic("01_amb_darkness.ogg", true, 1.0f, 0, 0, true);
AddEntityCollideCallBack("Player", "PlayerCollide", MonsterFunction", true, 1);
AddEntityCollideCallBack("Player", "MonsterEnd", true, 1);
}

void MonsterFunction(string &in asParent, string &in asChild, int alstate);
{
SetEntityActive("servant_grunt_1", true);
AddEnemyPatrolNode("servant_Grunt_1", "PathNodeArea_1", 2, "");
AddEnemyPatrolNode("servant_Grunt_1", "PathNodeArea_2", 0, "");
AddEnemyPatrolNode("servant_Grunt_1", "PathNodeArea_3", 0, "");
}
//////////////////////
// Run when leaving map
void OnLeave()

if you can, please help me, i just want to make a little custom story is all.
12-02-2012, 04:55 PM
Find


Messages In This Thread
Why is my custom story not working!?!?!? - by Gamerlord08 - 12-02-2012, 04:55 PM



Users browsing this thread: 1 Guest(s)