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
Problem with lever & mixture
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#11
RE: Problem with lever & mixture


Awesome! =D
Yup! The "SetLocalVarInt" sets an empty 'bank' (My best explanation in layman's terms) in the script. When you place a substance down, it adds to the 'bank'. Now you have one in the 'bank'. (And one object on the table)... This is where you pull the lever and the game says "I need something else."... When another is placed, it adds one more to the 'bank', totalling the 'bank' amount to 2. now, when you pull the lever, the 'bank' tells the game to give the player the functions.

Hope you can learn a bit with this! =] Also glad to hear it works XD I was writing this on paper in study hall and went over it a few times, but wasn't sure if it'd work.
01-11-2012, 11:05 PM
Find


Messages In This Thread
Problem with lever & mixture - by Shadowfied - 01-11-2012, 01:36 AM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 02:02 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 02:04 AM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 02:47 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 02:50 AM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 02:55 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 09:39 AM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 12:08 PM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 08:56 PM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 10:56 PM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 11:05 PM
RE: Problem with lever & mixture - by Shadowfied - 01-11-2012, 11:07 PM
RE: Problem with lever & mixture - by Statyk - 01-11-2012, 11:08 PM



Users browsing this thread: 1 Guest(s)