ShowEnemyPlayerPosition "" is not delcared - 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: ShowEnemyPlayerPosition "" is not delcared (/thread-9288.html) |
ShowEnemyPlayerPosition "" is not delcared - Rapture - 07-21-2011 I am copying this from the 2nd map from Justine. I'm not really sure what it means by. "FATAL ERROR: Could not load script file 'custom_stories/Map05/Ch01/map05.hps'! main (248, 26) : ERR : 'servant_brute_1' is not declared Where do I declare it and how? Code: void Enemy1Patrol(string &in asTimer) RE: ShowEnemyPlayerPosition "" is not delcared - MrCookieh - 07-21-2011 you need " " around the servant_brute_1 ShowEnemyPlayerPosition("servant_brute_1"); the system thinks you're using a variable, which wasn't set before. RE: ShowEnemyPlayerPosition "" is not delcared - Rapture - 07-21-2011 (07-21-2011, 07:18 PM)MrCookieh Wrote: you need " " around the servant_brute_1Thanks! I hate it when you miss those minor things. |