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
how can I use 2 If statements in 1 function?
JMFStorm Offline
Member

Posts: 205
Threads: 8
Joined: Aug 2011
Reputation: 28
#2
RE: how can I use 2 If statements in 1 function?

Here's one example from my mod:

if(GetLocalVarInt("Book1Pulled") == 1 and GetLocalVarInt("Book3Pulled") == 0){
SetLocalVarInt("Book1and2PulledInRightOrder", 1);
}

I guess this should get you started.

07-22-2012, 01:07 PM
Find


Messages In This Thread
RE: how can I use 2 If statements in 1 function? - by JMFStorm - 07-22-2012, 01:07 PM



Users browsing this thread: 1 Guest(s)