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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script help for level door
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#5
RE: Script help for level door

(02-10-2013, 02:43 AM)NaxEla Wrote: Oh, I also just realized: In this line of your code:
SetLevelDoorLocked("level4", true);
you are actually making the door locked. By change true to false, it will unlock it.

@No Author
Swing doors use SetSwingDoorLocked, and level doors use SetLevelDoorLocked. So, yes, they do use slightly different functions.

Lol. I didn't read it clearly in the first place.
I really need to improve my reading.

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-10-2013, 02:56 AM
Find


Messages In This Thread
Script help for level door - by afroduckie - 02-10-2013, 02:21 AM
RE: Script help for level door - by NaxEla - 02-10-2013, 02:31 AM
RE: Script help for level door - by No Author - 02-10-2013, 02:39 AM
RE: Script help for level door - by NaxEla - 02-10-2013, 02:43 AM
RE: Script help for level door - by No Author - 02-10-2013, 02:56 AM
RE: Script help for level door - by afroduckie - 02-10-2013, 03:00 AM



Users browsing this thread: 1 Guest(s)