| Raymond   Member
 
 Posts: 126
 Threads: 24
 Joined: Feb 2011
 Reputation: 
0
 | 
			| How to make an enemy automatically break the door? 
 
				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?
			 
 One World To Another [DEMO] coming soon. |  | 
	| 03-01-2011, 10:16 AM |  | 
	
		| Tanshaydar   From Beyond
 
 Posts: 3,085
 Threads: 17
 Joined: Mar 2009
 Reputation: 
67
 | 
			| RE: How to make an enemy automatically break the door? 
 
				ShowEnemyPlayerPosition(string& asName);asname = enemy name.
 Enemy will break the door.
 
 |  | 
	| 03-01-2011, 10:25 AM |  | 
	
		| Linus Ågren   Senior Member
 
 Posts: 309
 Threads: 58
 Joined: Jan 2011
 Reputation: 
5
 | 
			| RE: How to make an enemy automatically 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.
 
 Creator of The Dark Treasure. |  | 
	| 03-01-2011, 03:47 PM |  | 
	
		| Raymond   Member
 
 Posts: 126
 Threads: 24
 Joined: Feb 2011
 Reputation: 
0
 | 
			| RE: How to make an enemy automatically break the door? 
 
				I use the AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_29", 0, ""); because it is easier, thanks.
			 
 One World To Another [DEMO] coming soon. |  | 
	| 03-09-2011, 09:57 AM |  |