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
[Solved] Puzzle Script Problem?
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Puzzle Script Problem?

Humm. Checking...

I think you should monitor the value of levers_functional
AddDebugMessage( "leverpuzzle_var("+leverpuzzle_var+")", false);
Those levers may be increasing the value of that variable several times cause you're using SetEntityPlayerInteractCallback to trigger the function instead of a callback that detects only when the state changes.
If I'm correct, you should see that variable getting too big by the time you finished the puzzle, so it's always > than 6 and the code keeps on.

(This post was last modified: 07-27-2014, 04:45 AM by Daemian.)
07-27-2014, 04:24 AM
Find


Messages In This Thread
[Solved] Puzzle Script Problem? - by Vale - 07-27-2014, 02:07 AM
RE: Puzzle Script Problem? - by Daemian - 07-27-2014, 04:24 AM
RE: Puzzle Script Problem? - by Vale - 07-27-2014, 05:09 AM
RE: Puzzle Script Problem? - by PutraenusAlivius - 07-27-2014, 06:27 AM
RE: Puzzle Script Problem? - by Daemian - 07-27-2014, 05:29 AM
RE: Puzzle Script Problem? - by Mudbill - 07-27-2014, 06:29 AM
RE: Puzzle Script Problem? - by Vale - 07-27-2014, 02:05 PM



Users browsing this thread: 1 Guest(s)