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
Changing Lantern Spotlight color mid game
Reminiscity Offline
Member

Posts: 81
Threads: 16
Joined: Jan 2013
Reputation: 2
#4
RE: Changing Lantern Spotlight color mid game

I can't get it to work Sad

The lantern entity name is "lantern_mandus". I find this method a bit wierd because how would the engine know what is the entity name and what is the spotlight name when its only separated with an underscore? And in this case the entity name has an underscore in it which makes things even wierder.

SetLightVisible("lantern_mandus_SpotLight_2", false);

My mod Amadeus
03-26-2016, 02:49 PM
Find


Messages In This Thread
RE: Changing Lantern Spotlight color mid game - by Reminiscity - 03-26-2016, 02:49 PM



Users browsing this thread: 1 Guest(s)