The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Problem with lighting
Soon Offline
Member

Posts: 50
Threads: 11
Joined: Sep 2010
Reputation: 0
#1
Problem with lighting

I've been trying to get a light source to start inactive, then become active by a trigger / area. My script is fine, I'm pretty sure. The problem is that the light starts lit, even when it is set as inactive. Just to clarify, I do mean an actual light, not the lamp entities. I know that set entity active works for turning those lights off, but why is it that I can't seem to have the light start off, then turned on?

It just seems that the light ALWAYS starts active, even if it's not set to. In the editor the light source is clearly not showing up. But in game and in mapview the light source starts on.

On a side note, I've been having problems with monsters spawning facing in the wrong direction. I want them to face a certain way, like how I placed them in the editor, but they spawn in facing a different direction when I set them active.
09-27-2010, 09:38 PM
Find


Messages In This Thread
Problem with lighting - by Soon - 09-27-2010, 09:38 PM
RE: Problem with lighting - by Equil - 09-28-2010, 07:03 AM
RE: Problem with lighting - by jens - 09-28-2010, 08:08 AM
RE: Problem with lighting - by Soon - 09-29-2010, 04:00 AM
RE: Problem with lighting - by jens - 09-29-2010, 06:09 AM
RE: Problem with lighting - by Soon - 09-29-2010, 07:14 AM
RE: Problem with lighting - by jens - 09-29-2010, 08:48 AM
RE: Problem with lighting - by Soon - 09-29-2010, 02:36 PM



Users browsing this thread: 1 Guest(s)