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
Lever Machine
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Lever Machine

You could just use SetLeverStuckState. This freezes the lever and you cannot move it anymore.




SetLeverStuckState("name of lever", -1,0,1, true);

alState - 0 = not stuck, 1 = at max, -1 = at min 3



If you wanted, couldn't you just put a scriptarea where the lever is and SetLocalVarInt("Levers", -1);
This could cause other problems aswell, such as people detracting over and over that they can't make it add up to a positive value. But then again; it's up to you.

12-31-2011, 01:40 AM
Find


Messages In This Thread
Lever Machine - by Randomguy9900 - 12-31-2011, 12:44 AM
RE: Lever Machine - by flamez3 - 12-31-2011, 01:40 AM
RE: Lever Machine - by Randomguy9900 - 12-31-2011, 01:43 AM



Users browsing this thread: 1 Guest(s)