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
Need help again T_T
Shadowfied Offline
Senior Member

Posts: 261
Threads: 34
Joined: Jul 2010
Reputation: 5
#5
RE: Need help again T_T

Just add a SetLeverStuckState function. Like this:

PHP Code: (Select All)
void openbigdoor(string &in asEntityint alState)
     {
         if (
alState == 1)
         {

            
SetMoveObjectState("door_valve_open",0.8f);
            
SetPlayerActive(false);
            
StartPlayerLookAt("door_valve_open"2.0f2.5f"");
            
AddTimer(""9"doortimer");
            
AddTimer(""7"messagetimer");    
            
SetLeverStuckState("lever_open_01"1false);       
        }
    } 

I think this shall work.

Current - Castle Darkuan
Other - F*cked Map
01-26-2012, 09:14 AM
Find


Messages In This Thread
Need help again T_T - by Quotentote - 01-24-2012, 11:21 PM
RE: Need help again T_T - by Elven - 01-24-2012, 11:56 PM
RE: Need help again T_T - by Quotentote - 01-25-2012, 12:28 AM
RE: Need help again T_T - by Elven - 01-25-2012, 12:34 AM
RE: Need help again T_T - by Shadowfied - 01-26-2012, 09:14 AM



Users browsing this thread: 1 Guest(s)