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
Another Lever help thread[SOLVED]
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Another Lever help thread

Try this:

void OnStart()
{
     SetEntityConnectionStateChangeCallback("Lever_1", "SecretShelf");
}
void SecretShelf(string &in asEntity, int alState)
{
     if (alState == 1)
     {
          SetEntityActive("Shelf_1", false);
          SetEntityActive("Shelf_2", true);
          return;
     }
}
}

05-15-2011, 05:46 PM
Find


Messages In This Thread
Another Lever help thread[SOLVED] - by Rownbear - 05-15-2011, 05:04 PM
RE: Another Lever help thread - by Kyle - 05-15-2011, 05:46 PM
RE: Another Lever help thread - by Rownbear - 05-15-2011, 06:02 PM
RE: Another Lever help thread - by Kyle - 05-15-2011, 06:13 PM
RE: Another Lever help thread - by Rownbear - 05-15-2011, 06:17 PM
RE: Another Lever help thread - by Kyle - 05-15-2011, 06:18 PM



Users browsing this thread: 1 Guest(s)