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
How to make Candle Go out?
GreyFox Offline
Member

Posts: 162
Threads: 23
Joined: Jul 2011
Reputation: 2
#15
RE: How to make Candle Go out?

I Found out why it wasn't work.

My .HPS was named Entance, instead of Entrance... Damn do I feel retarded. haha

I Have another question though.

I Don't use levers alot, and I Have a Bathroom, and I though it'd be cool if you could turn the water on and off.

So I go the lever turning the water on just not off. would you mind helping me get it so when I pull up on the leave the particle system disappears.

////////////////////////////
// Run first time starting map
void OnStart()
{
AddTimer("", 5, "Light");
SetEntityConnectionStateChangeCallback("Button1", "StartWater");
}

void Light(string &in asTimer)
{
    SetLampLit("modern_mine_flour_light_shadowH_6", false, false);
}

void StartWater(string &in asEntity, int alState)
{
    if (alState == 1)
    {
    CreateParticleSystemAtEntity("", "ps_water_stream.ps", "WaterPS1", false);
        return;
    }
}

Thanks
-Grey Fox

Current Project
Forgotten
11-23-2011, 02:09 AM
Find


Messages In This Thread
How to make Candle Go out? - by GreyFox - 11-21-2011, 10:36 PM
RE: How to make Candle Go out? - by Your Computer - 11-21-2011, 10:59 PM
RE: How to make Candle Go out? - by TheDavenia - 11-21-2011, 11:07 PM
RE: How to make Candle Go out? - by GreyFox - 11-21-2011, 11:55 PM
RE: How to make Candle Go out? - by Your Computer - 11-22-2011, 12:09 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 12:20 AM
RE: How to make Candle Go out? - by BlueFury - 11-22-2011, 12:32 AM
RE: How to make Candle Go out? - by Your Computer - 11-22-2011, 01:29 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 02:10 AM
RE: How to make Candle Go out? - by Statyk - 11-22-2011, 02:37 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 02:51 AM
RE: How to make Candle Go out? - by Your Computer - 11-22-2011, 05:28 AM
RE: How to make Candle Go out? - by GreyFox - 11-22-2011, 12:36 PM
RE: How to make Candle Go out? - by Statyk - 11-22-2011, 10:27 PM
RE: How to make Candle Go out? - by GreyFox - 11-23-2011, 02:09 AM
RE: How to make Candle Go out? - by Your Computer - 11-23-2011, 03:58 AM



Users browsing this thread: 3 Guest(s)