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 SOLVED - Levers Script
MsHannerBananer Offline
Member

Posts: 218
Threads: 34
Joined: Sep 2013
Reputation: 10
#3
RE: Levers Script

(03-31-2014, 09:26 AM)Mudbill Wrote: Try adding some debug messages around to see where it stops working. Add one before the if statements in the LeverPuzzle function to confirm that it's called, then have one inside the block to check if it's passed. If you have this event added to the entities in the level editor, they should surely run this function, but perhaps the states aren't proper?

Totally looooove that this kind of magical stuff happens to me.

These kinds of problems end up 1 of 3 ways with me. Either they're super simple and I'm an idiot to have not been able to figure it out; they mysteriously solve themselves automagicall ;P ; or they never get solved and I have to change the script. Yay me, haha.

Wouldn't happen to be because they are the levers imported from Penumbra, would it? I mean, they have the exact parameters as the levers traditionally found in Amnesia, so I didn't think it would be a problem. I guess the only way to find out would be if I replaced all the levers in question with Amnesia levers.

Debugssss where for art thou debugs... (debug messages aren't calling hahahahahahah scripting hates me. *sobs*)


Edit: The good news is that with globalvarint's I can do a nice little work around. Hopefully.

The bad news is, I have a long night of scripting ahead of me. *Dead*

(This post was last modified: 03-31-2014, 10:43 AM by MsHannerBananer.)
03-31-2014, 10:41 AM
Find


Messages In This Thread
SOLVED - Levers Script - by MsHannerBananer - 03-31-2014, 07:49 AM
RE: Levers Script - by Mudbill - 03-31-2014, 09:26 AM
RE: Levers Script - by MsHannerBananer - 03-31-2014, 10:41 AM
RE: Levers Script - by Romulator - 03-31-2014, 11:10 AM
RE: Levers Script - by Mudbill - 03-31-2014, 01:42 PM
RE: Levers Script - by Romulator - 03-31-2014, 02:03 PM
RE: Levers Script - by MsHannerBananer - 03-31-2014, 08:15 PM
RE: Levers Script - by Mudbill - 03-31-2014, 02:15 PM
RE: Levers Script - by Mudbill - 03-31-2014, 10:44 PM
RE: Levers Script - by MsHannerBananer - 04-01-2014, 12:04 AM
RE: Levers Script - by MsHannerBananer - 04-01-2014, 04:01 AM



Users browsing this thread: 1 Guest(s)