Frictional Games Forum (read-only)
How to make Candle Go out? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How to make Candle Go out? (/thread-11454.html)

Pages: 1 2


How to make Candle Go out? - GreyFox - 11-21-2011

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



RE: How to make Candle Go out? - Your Computer - 11-21-2011

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#lamps
http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#lights


RE: How to make Candle Go out? - TheDavenia - 11-21-2011

SetLampLit("LAMPNAME", false, true);


RE: How to make Candle Go out? - GreyFox - 11-21-2011

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.



RE: How to make Candle Go out? - Your Computer - 11-22-2011

Can you specify the file names of the entities you're using?


RE: How to make Candle Go out? - GreyFox - 11-22-2011

modern_mine_flour_light_shadowH_X

Note* X=Number

I also tried

candlestick_floor_X

neither worked.

Thanks
-Grey Fox



RE: How to make Candle Go out? - BlueFury - 11-22-2011

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


RE: How to make Candle Go out? - Your Computer - 11-22-2011

SetLampLit() worked for me for both modern_mine_flour_light_shadowH.ent and candlestick_floor.ent, so i'm not sure what to say.


RE: How to make Candle Go out? - GreyFox - 11-22-2011

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



RE: How to make Candle Go out? - Statyk - 11-22-2011

(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.