Frictional Games Forum (read-only)
opening a door with the key found in a different map - 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: opening a door with the key found in a different map (/thread-14457.html)



opening a door with the key found in a different map - zombiehacker595 - 04-03-2012

so bassically how would i get a key to unlock another level door in a different map to the one it was found in

i assume it uses global vairables but i have no idea at all hw to use them?



RE: opening a door with the key found in a different map - Obliviator27 - 04-03-2012

Just use the AddUseItemCallback with the name of the key. Inventory items work across any map.