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
#1
How to make Candle Go out?

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

Current Project
Forgotten
11-21-2011, 10:36 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: How to make Candle Go out?

http://wiki.frictionalgames.com/hpl2/amn...ions#lamps
http://wiki.frictionalgames.com/hpl2/amn...ons#lights

Tutorials: From Noob to Pro
11-21-2011, 10:59 PM
Website Find
TheDavenia Offline
Member

Posts: 223
Threads: 38
Joined: Jun 2011
Reputation: 0
#3
RE: How to make Candle Go out?

SetLampLit("LAMPNAME", false, true);

Current Project: Nightmare's End(Project Director, Scripter, boss >:D)
11-21-2011, 11:07 PM
Find
GreyFox Offline
Member

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

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.

Current Project
Forgotten
(This post was last modified: 11-21-2011, 11:59 PM by GreyFox.)
11-21-2011, 11:55 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: How to make Candle Go out?

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

Tutorials: From Noob to Pro
11-22-2011, 12:09 AM
Website Find
GreyFox Offline
Member

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

modern_mine_flour_light_shadowH_X

Note* X=Number

I also tried

candlestick_floor_X

neither worked.

Thanks
-Grey Fox

Current Project
Forgotten
11-22-2011, 12:20 AM
Find
BlueFury Offline
Senior Member

Posts: 470
Threads: 30
Joined: May 2011
Reputation: 9
#7
RE: How to make Candle Go out?

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

Sticks and stones may break our bones, but words will break our hearts. – Robert Fulghum
11-22-2011, 12:32 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: How to make Candle Go out?

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

Tutorials: From Noob to Pro
11-22-2011, 01:29 AM
Website Find
GreyFox Offline
Member

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

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

Current Project
Forgotten
11-22-2011, 02:10 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#10
RE: How to make Candle Go out?

(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.
11-22-2011, 02:37 AM
Find




Users browsing this thread: 1 Guest(s)