Frictional Games Forum (read-only)

Full Version: How to make an enemy automatically break the door?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
ShowEnemyPlayerPosition(string& asName);
asname = enemy name.
Enemy will break the door.
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.
I use the AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_29", 0, ""); because it is easier, thanks.