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
Variable not setting
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Variable not setting

Add debug messages to make sure the lever is going to state 1. It could be going to state -1. Same with the wheel. Check its state with a debug message AddDebugMessage("state: "+alState, false);

I see no other way you could be getting this bug. Also, instead of setting the variable when the wheel reaches a certain state, do it when the weight object enters/exits a certain area. I've done that before and had everything turn out fine and dandy.

06-18-2012, 08:24 PM
Find


Messages In This Thread
Variable not setting - by Damascus - 06-18-2012, 08:18 PM
RE: Variable not setting - by palistov - 06-18-2012, 08:24 PM
RE: Variable not setting - by Damascus - 06-18-2012, 09:13 PM
RE: Variable not setting - by palistov - 06-18-2012, 10:37 PM



Users browsing this thread: 1 Guest(s)