Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia custom story problem
KodiakZ Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2012
Reputation: 0
#4
RE: Amnesia custom story problem

(05-12-2012, 11:26 PM)Putmalk Wrote: Is the door in question a level door (i.e., it's name is level_wood or something like that) or is it a swing door (i.e., it's name is mansion_1 or something like that).

If it's a LevelDoor, then the SetLevelDoorLocked function is working as intended.
If it's a SwingDoor, then you need to use the SetSwingDoorLocked(string& asName, bool abLocked, bool abEffects); function.

Is your key named "Key_1"?
Is your door named "Door_1"?

[quote=] I had the same problem bro.

My solution was to create 2 level doors, one fake that's locked

and another un-active unlocked door wich will lead you further.

add useitem callback with the key on the fake door, and call SetEntityActive("fake", false);

and make the real door appear SetEntityActive("real", true);
^^ Yeah, sorry no offense but ignore this.

If done correctly you only need the key and the door, nothing else is needed and you're just making life more difficult for yourself.

Thanks for responding Big Grin

Yes, my key is called Key_1 and my door is Door_1. I've already tried renaming it a lot of times but with no succes. I've searched on Google for more than a half day, but still no help to be found. I'v etried all of the methods that I've found, but none worked. I really don't know whar I'm doing wrong. It's called mansion_1 but has the same look of a level door. Is that where I'm doing wrong ?
(This post was last modified: 05-13-2012, 10:18 AM by KodiakZ.)
05-13-2012, 10:16 AM
Find


Messages In This Thread
Amnesia custom story problem - by KodiakZ - 05-12-2012, 03:11 PM
RE: Amnesia custom story problem - by EXAWOLT - 05-12-2012, 04:44 PM
RE: Amnesia custom story problem - by Putmalk - 05-12-2012, 11:26 PM
RE: Amnesia custom story problem - by KodiakZ - 05-13-2012, 10:16 AM
RE: Amnesia custom story problem - by pandasFTW - 05-13-2012, 10:32 AM
RE: Amnesia custom story problem - by KodiakZ - 05-13-2012, 11:02 AM
RE: Amnesia custom story problem - by pandasFTW - 05-13-2012, 11:10 AM
RE: Amnesia custom story problem - by KodiakZ - 05-13-2012, 11:10 AM
RE: Amnesia custom story problem - by EXAWOLT - 05-13-2012, 04:50 PM
RE: Amnesia custom story problem - by Putmalk - 05-13-2012, 01:58 PM
RE: Amnesia custom story problem - by ezra627 - 09-25-2014, 03:26 AM
RE: Amnesia custom story problem - by Mudbill - 09-25-2014, 06:55 AM



Users browsing this thread: 1 Guest(s)