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
How to make a door lock when entering an area?
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#4
RE: How to make a door lock when entering an area?

(01-30-2012, 05:47 AM)MissMarilynn Wrote:
(01-30-2012, 05:21 AM)Your Computer Wrote: http://wiki.frictionalgames.com/hpl2/amn...ions#doors
So I would just add

SetSwingDoorLocked ("mansion_3", true, true); ???

Do I add anything to the function??
Adding that will make it locked. There's nothing more you need to add.

mansion_3 = name of door
true = locked (can also be false to make it unlocked)
true = effects (false or true, tbh I don't even know what the effects option is for...)

Current - Castle Darkuan
Other - F*cked Map
01-30-2012, 08:39 AM
Find


Messages In This Thread
RE: How to make a door lock when entering an area? - by Shadowfied - 01-30-2012, 08:39 AM



Users browsing this thread: 1 Guest(s)