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
Help with variable ints!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Help with variable ints!

Yeah, else-if's are useful, no doubt. But a normal else-statement simply triggers if the prior if-statement does not. In this case, the else keyword could even be left out since the if-statement checks for everything BUT 1.

I suppose it falls mostly on preference though.

Either way, I suppose the int to put in OnStart should match what he renamed them? I suspect he shouldn't have renamed them though, or at least keep them both the same. "BarrelCheck" is a nice example.

(This post was last modified: 03-19-2014, 01:24 PM by Mudbill.)
03-19-2014, 01:23 PM
Find


Messages In This Thread
Help with variable ints! - by Radical Batz - 03-19-2014, 10:05 AM
RE: Help with variable ints! - by Radical Batz - 03-19-2014, 10:24 AM
RE: Help with variable ints! - by Radical Batz - 03-19-2014, 10:38 AM
RE: Help with variable ints! - by Mudbill - 03-19-2014, 12:16 PM
RE: Help with variable ints! - by Mudbill - 03-19-2014, 01:23 PM
RE: Help with variable ints! - by Radical Batz - 03-19-2014, 01:40 PM
RE: Help with variable ints! - by Mudbill - 03-19-2014, 01:57 PM
RE: Help with variable ints! - by Mudbill - 03-19-2014, 02:26 PM



Users browsing this thread: 1 Guest(s)