Frictional Games Forum (read-only)
simple scripting help - 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: simple scripting help (/thread-14519.html)



simple scripting help - zombiehacker595 - 04-06-2012

so i have been trying for a few days now to unlock a door with a key found in another map i know how to unlock a door with a key found in that map, but what do i have to add to get a key from a dif map to open a level door in another map?


RE: simple scripting help - Zaari - 04-06-2012

You shouldn't have to do anything else, really. Just add the unlocking script into the map with the locked door, and then place the key anywhere you like. When you play the game, items you obtain are automatically carried over when you switch maps.


RE: simple scripting help - zombiehacker595 - 04-06-2012

(04-06-2012, 01:07 AM)Zaari Wrote: You shouldn't have to do anything else, really. Just add the unlocking script into the map with the locked door, and then place the key anywhere you like. When you play the game, items you obtain are automatically carried over when you switch maps.


oh derp it worked i thought you would have had to add in heeps of extra stuff thanks Big Grin