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
Level door help
Itskody Offline
Member

Posts: 100
Threads: 30
Joined: Mar 2011
Reputation: 1
#1
Level door help

In my first area of my custom story, i have 2 level doors that you can go to, 1 is locked and the other you can go through. the key to the locked door is through the unlocked level door, but when i get the key and come back to unlock it, it "unlocks" but the door doesnt seem to send me to the next map, it still appears to be locked. why is that?
03-25-2011, 01:26 AM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: Level door help

Use SetLevelDoorLocked(string& asName, bool abLocked);

03-25-2011, 01:36 AM
Find
Itskody Offline
Member

Posts: 100
Threads: 30
Joined: Mar 2011
Reputation: 1
#3
RE: Level door help

(03-25-2011, 01:36 AM)Pandemoneus Wrote: Use SetLevelDoorLocked(string& asName, bool abLocked);

Do that instead of have the "Locked" box checked? the level door is called door 2 so it would just be SetLevelDoorLocked("door2", true);?
03-25-2011, 01:39 AM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#4
RE: Level door help

You will need that to unlock the door. You probably copied the normal unlock function that someone made around here in the forum.

03-25-2011, 12:30 PM
Find
Itskody Offline
Member

Posts: 100
Threads: 30
Joined: Mar 2011
Reputation: 1
#5
RE: Level door help

(03-25-2011, 12:30 PM)Pandemoneus Wrote: You will need that to unlock the door. You probably copied the normal unlock function that someone made around here in the forum.

No i didnt use a script for it, i just checked the "Locked" box in the level editor, worked for all the other doors, but thanks ill see if it solves my problem
03-25-2011, 06:52 PM
Find




Users browsing this thread: 1 Guest(s)