Frictional Games Forum (read-only)
Naughty Level Doors... - 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: Naughty Level Doors... (/thread-10950.html)



Naughty Level Doors... - Victor - 10-23-2011

I can't make a key unlock a level door, so I've searched throughout the forums and I found a code:

"SetLevelDoorLocked (bla)", and not "SwingDoor", aaaaaaaaannnnnddddd I tested it, but a FATAL ERROR appears and say that there is no matching signature, or something like that... Anybody knows wtf?



RE: Naughty Level Doors... - Your Computer - 10-23-2011

Let me guess, you forgot to remove the third parameter when replacing the function.


RE: Naughty Level Doors... - Victor - 10-23-2011

(10-23-2011, 07:13 PM)Your Computer Wrote: Let me guess, you forgot to remove the third parameter when replacing the function.
*pokerface*
Oh... Let me see if it works now...
Thanks!