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 Mind-boggling "SetEntityCallbackFunc" issue
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#3
RE: Mind-boggling "SetEntityCallbackFunc" issue

(05-27-2016, 12:54 AM)Romulator Wrote: Try adding the variable before check();. You're getting your desired output of 2, but it's doing the check before.

First pass:

Check
Local Var = 0, so don't check.
Local Var = 1.

Check
Local Var = 1, so don't check.
Local Var = 2.

Thanks, that worked like a charm! Had no clue that the solution was so simple.
05-27-2016, 01:04 AM
Find


Messages In This Thread
RE: Mind-boggling "SetEntityCallbackFunc" issue - by Slanderous - 05-27-2016, 01:04 AM



Users browsing this thread: 1 Guest(s)