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.)
|