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
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#11
RE: Unexpected end of file

Found it after putting your script into geany:
void monsterscare2(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_brute_2", true);
AddEnemyPatrolNode("servant_brute_2", "monster_disable_node", 0, "run.dae_anim");
AddEntityCollideCallback("servant_brute_2", "monster_disable_area", monsterdisable", false, 1);
StartPlayerLookAt("castle_arched02", 10, 10, "");
AddTimer("stoplook", 2.0, "PlayerStopLook");
GiveSanityDamage(0, true);
}
>AddEntityCollideCallback("servant_brute_2", "monster_disable_area", monsterdisable", false, 1);
Did you, together with the monsterdisable function, added the " before monsterdisable?
Other than that, geany doesn't show up anything wrong, and all functions are listed.

Oh, got ninja'd while searching for the problem.
(This post was last modified: 06-20-2012, 09:38 PM by Cruzore.)
06-20-2012, 09:36 PM
Find


Messages In This Thread
Unexpected end of file - by drunkmonk - 06-20-2012, 08:47 PM
RE: Unexpected end of file - by Cruzore - 06-20-2012, 08:55 PM
RE: Unexpected end of file - by drunkmonk - 06-20-2012, 08:58 PM
RE: Unexpected end of file - by Cruzore - 06-20-2012, 09:04 PM
RE: Unexpected end of file - by drunkmonk - 06-20-2012, 09:09 PM
RE: Unexpected end of file - by Cruzore - 06-20-2012, 09:13 PM
RE: Unexpected end of file - by drunkmonk - 06-20-2012, 09:19 PM
RE: Unexpected end of file - by Cruzore - 06-20-2012, 09:22 PM
RE: Unexpected end of file - by drunkmonk - 06-20-2012, 09:30 PM
RE: Unexpected end of file - by Apjjm - 06-20-2012, 09:34 PM
RE: Unexpected end of file - by drunkmonk - 06-20-2012, 09:40 PM
RE: Unexpected end of file - by Cruzore - 06-20-2012, 09:36 PM



Users browsing this thread: 1 Guest(s)