(12-06-2011, 05:41 PM)Kainzor Wrote: i mean just open.. just open normaly....and give me script unlocking too
I won't be providing you with a script, just the concept; and you already have an unlocking door script in your other thread.
You're going to need to place a Script area in front of the door, in the direction that the door opens. All you would need to do then is add an entity collide callback to detect whether or not the door collided with the area. In the callback you simply activate the monster.
All script functions can be found here:
http://wiki.frictionalgames.com/hpl2/amn..._functions
You're going to need to use AddEntityCollideCallback and SetEntityActive.