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

it is a .hps file, i get the (25: 2) unexpected end of file error, here's what i'm using with the custom story, everything else checks out.

///////////////////////

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

{





}

see if you can figure this out, i cannot put my finger on why it's saying this. also, it just doesn't work, amnesia works fine unless i try my custom story.
(This post was last modified: 12-07-2012, 08:52 PM by Gamerlord08.)
12-07-2012, 08:51 PM
Find


Messages In This Thread
RE: Why is my custom story not working!?!?!? - by Gamerlord08 - 12-07-2012, 08:51 PM



Users browsing this thread: 1 Guest(s)