Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activate/Deactivate Static Objects etc.
Author Message
MulleDK19 Offline
Senior Member

Posts: 511
Joined: Jun 2009
Reputation: 8
Post: #12
RE: Activate/Deactivate Static Objects etc.
(09-20-2010 04:54 PM)jens Wrote:  A light should be possible to set to active false, if that is not working then something strange is going on. At least it works for pointlights and spotlights. If it is not workingin the editor you can use the script FadeLight to fade a light to for example black (0,0,0,0) and it will not be visible.

Active is broken for Point Lights. At least in my levels. I have to loop through my lights and do SetEntityActive("name", false); in OnStart to turn them off.

[Image: 16455.png]
09-20-2010 10:48 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Activate/Deactivate Static Objects etc. - MulleDK19 - 09-20-2010 10:48 PM



User(s) browsing this thread: 1 Guest(s)