![]() |
Unexpected end of file?!? plz help.. - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Unexpected end of file?!? plz help.. (/thread-7941.html) Pages:
1
2
|
RE: Unexpected end of file?!? plz help.. - Cruzore - 06-27-2012 void ActivateMonster(string &in asParent, string &in asChild, int alState); SetNPCActive("Main", true); it's a selfmade function, of course you need starting and ending brackets({ and }). Also, you don't put a ; at the end of the function name line. Also, the command "SetNPCActive" doesn't exist. You use SetEntityActive instead. Correction of it: void ActivateMonster(string &in asParent, string &in asChild, int alState) { SetEntityActive("Main", true); } |