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
Level Editor Help How to hide light?
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: How to hide light?

What happens when you try to disable the light itself in the entity? Before you hide the entity, include this line:

PHP Code: (Select All)
SetLampLit("MonsterName_LightName"falsefalse); 

Where MonsterName is the name of your entity, and the LightName is the name of the light attached to the entity. Open up the monster in the Model Editor and check the name of the Light, and put that name there.

If it were, for example, called InfectedMonster, and the light was called SpotLight_1, then the code would look like:

PHP Code: (Select All)
SetLampLit("InfectedMonster_SpotLight_1"falsefalse); 

Discord: Romulator#0001
[Image: 3f6f01a904.png]
10-21-2017, 12:47 PM
Find


Messages In This Thread
How to hide light? - by Buchka123 - 10-21-2017, 09:00 AM
RE: How to hide light? - by Romulator - 10-21-2017, 12:47 PM
RE: How to hide light? - by Buchka123 - 10-21-2017, 03:23 PM
RE: How to hide light? - by Romulator - 10-21-2017, 05:35 PM
RE: How to hide light? - by HappyMatt12345 - 10-23-2018, 02:01 AM
RE: How to hide light? - by Mudbill - 10-23-2018, 10:00 PM



Users browsing this thread: 1 Guest(s)