Frictional Games Forum (read-only)
[SCRIPT] Player interacting with 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Player interacting with door (/thread-20242.html)



Player interacting with door - Spaysh - 02-08-2013

Hey guys, im now trying to make it so that when a player interacts with a door, i.e tries to open it, an event happens. In this case a monster is activated. Any help is appreciated


RE: Player interacting with door - FlawlessHappiness - 02-08-2013

How about placing a script area where the door will open...

Then make a collide script, so when the door collides with the area, the monster spawns

With this it's not when you touch the door, but when you open it Wink


RE: Player interacting with door - Spaysh - 02-08-2013

Just done that, seems like the best option, cheers anyways xD