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
Script Help Chest unlocked by a key [Solved]
ethics Offline
Member

Posts: 51
Threads: 18
Joined: Jan 2014
Reputation: 0
#3
RE: Chest unlocked by a key

(02-03-2014, 12:01 PM)FlawlessHair Wrote: SetLeverStuckState("chest", true, true);

The bold "true" is supposed to be a number.
If you look in the engine scripts it says "int". "int" means it's a number with no decimals Smile

Here it's possibly -1, 0 or 1.


Also you seem to have something wrong with a timer. Mind posting that too? The fatal error tells you which line it is.

nevermind I figured it out myself. I also made a 3-lock chest out of it!
(You have to find 3 keys to open it)
Big Grin

02-15-2014, 08:37 PM
Find


Messages In This Thread
Chest unlocked by a key [Solved] - by ethics - 02-03-2014, 11:35 AM
RE: Chest unlocked by a key - by ethics - 02-15-2014, 08:37 PM



Users browsing this thread: 1 Guest(s)