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