How to make an enemy automatically break the door? - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: How to make an enemy automatically break the door? (/thread-6754.html) |
How to make an enemy automatically break the door? - Raymond - 03-01-2011 I've been wondering how to force the enemy break my door when i trigger something? The Grunt just stand there, and also, how to make a enemy dissapear if he can't find me? RE: How to make an enemy automatically break the door? - Tanshaydar - 03-01-2011 ShowEnemyPlayerPosition(string& asName); asname = enemy name. Enemy will break the door. RE: How to make an enemy automatically break the door? - Linus Ă…gren - 03-01-2011 You can also do SetPropHealth("Name_of_Door", 0); to make the door get destroyed instantly. If you want the enemy to destroy the door but not know your position, place patrol nodes that goes through the door. RE: How to make an enemy automatically break the door? - Raymond - 03-09-2011 I use the AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_29", 0, ""); because it is easier, thanks. |