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

im sorry chaser, but i still don't understand what that means, i know there's a missing thing there, but what do i replace it with? what do i do with it? i have no clue why it dosen't work the way it is now, like i said, VERY new.

Alright, i changed it to this and added a callbackfunc to the monster, ///////////////////////
// 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);
}

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


}

but it still says no sig, WHY, there is a signature on the monster now!
(This post was last modified: 12-02-2012, 10:51 PM by Gamerlord08.)
12-02-2012, 10:22 PM
Find


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



Users browsing this thread: 1 Guest(s)