mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
make nitelight only work at night
https://community.bistudio.com/wiki/setLightDayLight
This commit is contained in:
parent
763bc80e49
commit
065de1c165
@ -27,7 +27,6 @@ if (_nlEnabled isEqualTo 1) then {
|
||||
EP_light = "#lightpoint" createvehiclelocal _pos;
|
||||
EP_light setposATL _pos;
|
||||
EP_light attachTo [player,[0,8.11,_nlZ]]; //offset infront of player so that the darkness is 'following' them.
|
||||
EP_light setLightDayLight true; //TODO: Test if this can be turned off (Dawn / Dusk)
|
||||
EP_light setLightBrightness _nlBright;
|
||||
EP_light setLightAmbient [0.435, 0.439, 0.439];//Using new Colours.
|
||||
EP_light setlightcolor [0.435, 0.439, 0.439];
|
||||
|
Loading…
Reference in New Issue
Block a user