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
Unexpected end of file?!? plz help..
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#10
RE: Unexpected end of file?!? plz help..

Hello everyone, i'm making a test map, just with one monster. By the moment i'm learning, but i need help, when i run "The chasing" appears a window saying:
FATAL ERROR: Could not load script file "custom_stories/The chasing/Maps/The chasing.hps"!
main (19, 14): ERR : Expected identifier

This is the script:

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "ActivateMonster", true, 1);

}
void OnEnter ()

{

}

Void OnLeave ()
{

}

void ActivateMonster(string &in asParent, string &in asChild, int alState);

SetNPCActive("Main", true);

Before i used to put a "}" in the final, but it said "unexpected end of file". I tried to see the syntaxis error, but i couldn't find it. I would like a lot a bit of help, i've been stuck in here for a long time.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
06-27-2012, 06:36 PM
Find


Messages In This Thread
Unexpected end of file?!? plz help.. - by Jumpman - 05-11-2011, 04:49 PM
RE: Unexpected end of file?!? plz help.. - by The chaser - 06-27-2012, 06:36 PM



Users browsing this thread: 2 Guest(s)