Community Forum

Fs17 Gaint Editor Lights Copy Paste 24h light´s on

Forum Overview >> Editor

CategoryEditor
Created30.03.2017 16:04


Daniel Böhm (Unknown) 30.03.2017 16:04
Hey,

i try to add more lights at my custom map. The default map lights from sosnovka works perfectly! I start copy and paste one of the default smlLamp. If i log in at my custom game. I could see the lamp, but its always shining. The original map lamps start shining on something like 21:00. How can i set the option for all additionally integrated lamps?

Thx for Help!
Wuotang

Emil Drefers (Unknown) 31.03.2017 06:42
Hi,

as long as you keep the transformGroup "smlLamp" with all its childs inside the group "worldLights" everything should work.

So, the trick is to have an object which is set visible or invisble.
This object is the transformgroup "worldLights".

Now, you either keep all lights within that group or you create additional groups with the following user attribute:
type: scriptCallback
name: onCreate
value: Nightlight2.onCreate

Cheers,
Emil


Note: Log in to post. Create a new account here.