Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with a pipe puzzle
DannieWest Offline
Member

Posts: 156
Threads: 13
Joined: Apr 2011
Reputation: 0
#5
RE: Help with a pipe puzzle

Well, it's basically something like when the local variable is 0 something happens, and when it is 1 something else happens, so when you use the "if", the script checks if the variable is equal to 0 or 1. So if you set the local variable to 1 it will do the script you created for local var 1. If, lets say you haven't collected the item, the variable is 0 and will skip the script which had the variable 1 and do whatever is on 0, until you get the necessary items (or w/e it is you use to change the variable to 1) and then it does the script you created for 1 Smile Since english isn't my main language I might've explained a bit confusing, but I hope this helped a little at least xD

The if does exactly what it's named, IF something is 0 the script is activated, else it does the 1 or what the local variable is Smile
(This post was last modified: 06-08-2011, 01:20 PM by DannieWest.)
06-08-2011, 01:19 PM
Find


Messages In This Thread
Help with a pipe puzzle - by Rownbear - 05-23-2011, 04:14 PM
RE: Help with a pipe puzzle - by Kyle - 05-23-2011, 09:28 PM
RE: Help with a pipe puzzle - by Rownbear - 05-24-2011, 02:03 PM
RE: Help with a pipe puzzle - by SLAMnesia - 06-07-2011, 04:26 PM
RE: Help with a pipe puzzle - by DannieWest - 06-08-2011, 01:19 PM
RE: Help with a pipe puzzle - by Rownbear - 06-26-2011, 01:30 AM
RE: Help with a pipe puzzle - by Kyle - 06-26-2011, 01:49 AM



Users browsing this thread: 1 Guest(s)