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!?!?!?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#9
RE: Why is my custom story not working!?!?!?

(12-02-2012, 09:24 PM)Gamerlord08 Wrote: alright, it says no matching sginatures to the callback's, odd. i went and checked if they matched perfectly, and they check out. but they still say there's no matching sigs. but, if i add that ; to void monsterfunction, it then says unexpected token.
void OnStart()

{

PlayMusic("01_amb_darkness.ogg", true, 1.0f, 0, 0, true);

AddEntityCollideCallback("Player", "PlayerCollide", "MonsterFunction", true, 1);

AddEntityCollideCallback("Player", "MonsterEnd", "THERE IS A MISSING CALLBACK IN HERE" 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()

{





}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-02-2012, 09:55 PM
Find


Messages In This Thread
RE: Why is my custom story not working!?!?!? - by The chaser - 12-02-2012, 09:55 PM



Users browsing this thread: 1 Guest(s)