Frictional Games Forum (read-only)

Full Version: How to make Candle Go out?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Just want to know for future refrence, and I'm guessing the method someone gives me will also work with the White_Night/Penumbra Lights aswell?

If you wouldn't mind Putting down How to turn a light off, Make it flicker.

And these are like candles and Such, not Pointlights/Spotlights.

Thanks and just the Code would be fine (no need to make a whole script for me)

-Grey Fox
SetLampLit("LAMPNAME", false, true);
I've Tried both and Neither are working. (This is using Lights from whiteNight/Penumbra.

Thanks though
-Grey Fox

*Edit Tried a Candle Still didn't work.
Can you specify the file names of the entities you're using?
modern_mine_flour_light_shadowH_X

Note* X=Number

I also tried

candlestick_floor_X

neither worked.

Thanks
-Grey Fox
Dayum, have the same question, can't you just do an unlit candle with a burner_13 thingy on it
And make the burner disappear
SetLampLit() worked for me for both modern_mine_flour_light_shadowH.ent and candlestick_floor.ent, so i'm not sure what to say.
Mind Posting your Script real quick? Very odd, and I have a second question if you wouldn't mind.

Can you Make something happen When you enter the Map. IE The way I've been doing it is, I Want a Timer right at the start of the map I Make a Script area (At the 1st playerstartarea) and Name it Start

Is there a way where I don't need that and Can just add anything? (it gets quite alot of scripting when you have to type similar things 15 times)

Thanks
-Grey Fox
(11-22-2011, 02:10 AM)GreyFox Wrote: [ -> ]Mind Posting your Script real quick? Very odd, and I have a second question if you wouldn't mind.

Can you Make something happen When you enter the Map. IE The way I've been doing it is, I Want a Timer right at the start of the map I Make a Script area (At the 1st playerstartarea) and Name it Start

Is there a way where I don't need that and Can just add anything? (it gets quite alot of scripting when you have to type similar things 15 times)

Thanks
-Grey Fox
can you post YOUR script?

And just type in the "void OnStart" parameters.
Pages: 1 2