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
Candle fade
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#13
RE: Candle fade

Try this:

PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""Lights_Out""LampsOff_func"true1);
}

void OnEnter()
{
}

void OnLeave()
{
}

void LampsOff_func(string &in asParentstring &in asChildint alState)
{
    if (
asChild == "Lights_Out")
    {
        
SetLampLit("torch_static01_1"falsetrue);
        
SetLampLit("torch_static01_2"falsetrue);
        
SetLampLit("torch_static01_3"falsetrue);
        
SetLampLit("torch_static01_4"falsetrue);
        
SetLampLit("torch_static01_5"falsetrue);
        
SetLampLit("torch_static01_6"falsetrue);
    }


Tutorials: From Noob to Pro
11-09-2011, 02:26 PM
Website Find


Messages In This Thread
Candle fade - by proshitness - 11-08-2011, 06:23 PM
RE: Candle fade - by Statyk - 11-08-2011, 06:53 PM
RE: Candle fade - by proshitness - 11-08-2011, 06:57 PM
RE: Candle fade - by Statyk - 11-08-2011, 07:05 PM
RE: Candle fade - by Khyrpa - 11-08-2011, 07:43 PM
RE: Candle fade - by proshitness - 11-08-2011, 07:48 PM
RE: Candle fade - by Statyk - 11-09-2011, 12:31 AM
RE: Candle fade - by Khyrpa - 11-08-2011, 07:51 PM
RE: Candle fade - by proshitness - 11-08-2011, 07:59 PM
RE: Candle fade - by proshitness - 11-09-2011, 08:06 AM
RE: Candle fade - by Your Computer - 11-09-2011, 01:51 PM
RE: Candle fade - by proshitness - 11-09-2011, 02:00 PM
RE: Candle fade - by Your Computer - 11-09-2011, 02:26 PM
RE: Candle fade - by proshitness - 11-09-2011, 02:49 PM
RE: Candle fade - by Your Computer - 11-09-2011, 03:47 PM
RE: Candle fade - by proshitness - 11-09-2011, 03:47 PM
RE: Candle fade - by Statyk - 11-09-2011, 09:58 PM
RE: Candle fade - by proshitness - 11-09-2011, 10:06 PM
RE: Candle fade - by Statyk - 11-09-2011, 10:12 PM
RE: Candle fade - by proshitness - 11-09-2011, 10:23 PM



Users browsing this thread: 1 Guest(s)