Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Of Keys and Locked doors...
Author Message
Vradcly Offline
Member

Posts: 100
Joined: Jan 2011
Reputation: 0
Post: #11
RE: Of Keys and Locked doors...
I just noticed that there is a different function you have to call for a leveldoor and a swingdoor, you say this door leads to a cellar?, Then you probably did the same mistake as me, SetLevelDoorLocked("OldDoor", false); is what you are looking for...
02-04-2011 12:30 AM
Find all posts by this user Quote this message in a reply
D3AD UPR1S1NG Offline
Member

Posts: 50
Joined: Apr 2011
Reputation: 0
Post: #12
RE: Of Keys and Locked doors...
(01-15-2011 07:03 AM)Ethril Wrote:  
(01-14-2011 08:04 PM)Frontcannon Wrote:  Work with debug messages to check if the KeyOnDoor function is ever called!

sorry if this is a stupid question but how do I check debug message hehe Huh

Hey I think I know what you need to do because I had the same problem and managed to sort it

Step 1: Rename your door something like first door without any Numbers, Spaces or _'s so something like the one on my map "FirstDoor

Step 2: In the editor make sure the door is set to locked.

Step 3: Make sure in your script all the names are right and match up to entites in your map.

Step 4: Playtest it the door should be locked up until you get the key then use it on the door and voila mission accomplished.

Hope It Helps Big Grin
04-22-2011 01:39 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)