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
Key to Unlock Chest
Ouroboros Offline
Junior Member

Posts: 20
Threads: 0
Joined: Jul 2011
Reputation: 0
#10
RE: Key to Unlock Chest

(07-22-2011, 01:27 PM)Swistrobl Wrote: I think the game actually considers chests equal to levers. If they were swingdoors, wouldn't there at least be a "Locked" checkbox in the entity attributes menu?

I checked and I was wrong actually, they are counted as levers.

Try adding SetLeverStuckState("chestname", 1, true); in OnStart(), or set it to min stuck state in the editor.
And then, add SetLeverStuckState("chestname", 0, true); instead of SetSwingDoorLocked and see if that works.

I apologize for the confusion Sad
(This post was last modified: 07-22-2011, 02:01 PM by Ouroboros.)
07-22-2011, 02:00 PM
Find


Messages In This Thread
Key to Unlock Chest - by Obliviator27 - 07-22-2011, 06:59 AM
RE: Key to Unlock Chest - by Ouroboros - 07-22-2011, 07:18 AM
RE: Key to Unlock Chest - by Obliviator27 - 07-22-2011, 07:30 AM
RE: Key to Unlock Chest - by Ouroboros - 07-22-2011, 07:33 AM
RE: Key to Unlock Chest - by Obliviator27 - 07-22-2011, 09:01 AM
RE: Key to Unlock Chest - by Rokotain - 07-22-2011, 10:40 AM
RE: Key to Unlock Chest - by WatzUpzPeepz - 07-22-2011, 01:35 PM
RE: Key to Unlock Chest - by ferryadams11 - 07-22-2011, 09:31 AM
RE: Key to Unlock Chest - by Poppuhik42 - 07-22-2011, 01:27 PM
RE: Key to Unlock Chest - by Ouroboros - 07-22-2011, 02:00 PM
RE: Key to Unlock Chest - by Obliviator27 - 07-22-2011, 08:36 PM



Users browsing this thread: 1 Guest(s)