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
Wind to blow out candles, and lever to open secret passage?
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#5
RE: Wind to blow out candles, and lever to open secret passage?

Use this to make your shelf move:
OnStart
{
SetEntityConnectionStateChangeCallback("lever_simple01_1", "StateChangeLever");
}

void StateChangeLever(string &in asEntity, int alState)
{
if(alState == 1){
SetLeverStuckState(asEntity, 1, true);
SetMoveObjectState("shelf_secret_door_1", 1.0f);
}
}

09-20-2010, 11:25 AM
Find


Messages In This Thread
RE: Wind to blow out candles, and lever to open secret passage? - by Pandemoneus - 09-20-2010, 11:25 AM



Users browsing this thread: 1 Guest(s)