![]() |
[SCRIPT] Nodes With Grunt Crash Game - 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: [SCRIPT] Nodes With Grunt Crash Game (/thread-14458.html) |
Nodes With Grunt Crash Game - heyitsrobert97 - 04-03-2012 Hi, I am Trying To Create A Script Where When You walk into an area a monster spawns behind a locked door and smashes in and follows the nodes with the player in front. so i added the nodes and when i started the game it crashed with blackbox when loading the level. Heres The Script. I deleted the map cache aswell. { AddEntityCollideCallback("Player", "chasescript", "chase", true, 1); } void chase(string &in asParent, string &in asChild, int alState) { SetEntityActive("chasegrunt", true); PlaySoundAtEntity("", "grunt_swear.snt", "Player", 0, false); SetSwingDoorLocked("normaldoor", true, true); PlaySoundAtEntity("", "close_door.snt", "normaldoor", 0, false); AddEnemyPatrolNode("chasegrunt", "chasenode_1", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_2", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_3", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_4", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_5", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_6", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_7", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_8", 0.1f, "run.amn"); AddEnemyPatrolNode("chasegrunt", "chasenode_9", 0.1f, "run.amn"); I Don't Know Whats Wrong it Comes up Amnesia.exe Crash 'Exception_Access_Violation in Module? any help please. RE: Nodes With Grunt Crash Game - Damascus - 04-03-2012 Your animations have the wrong extension. "anm," not "amn." RE: Nodes With Grunt Crash Game - heyitsrobert97 - 04-03-2012 (04-03-2012, 08:41 AM)Damascus Wrote: Your animations have the wrong extension. "anm," not "amn."fixed that but still crashes it says in Stack Trace in Blackbox Amnesia.exe. i am administrator and the game is running as administrator? |