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
#12
RE: Why is my custom story not working!?!?!?

well, it stopped with major errors, but now this:
///////////////////////
// Run when starting 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);
AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", bool ("abDeleteOnCollide", int (alStates)
),


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()
{


}

now it says "(25:2) Unexpected End Of File", so now i have no idea how to get rid of this. also, i thank you for fixing and explaining the problem adrianis. and i had to add extra things in order for it to stop saying problem here and problem there.
(This post was last modified: 12-03-2012, 05:18 PM by Gamerlord08.)
12-03-2012, 05:17 PM
Find


Messages In This Thread
RE: Why is my custom story not working!?!?!? - by Gamerlord08 - 12-03-2012, 05:17 PM



Users browsing this thread: 5 Guest(s)