mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Improve spectator camera vision mode on start
The spectator camera should start in night vision mode if the sun to moon transition state is appropriate
This commit is contained in:
parent
f5e7185aec
commit
5bfa4e5971
@ -37,6 +37,11 @@ switch (toLower _mode) do {
|
||||
GVAR(mouse) = [false,false];
|
||||
GVAR(mousePos) = [0.5,0.5];
|
||||
|
||||
// Camera starts with night vision if it's dark
|
||||
if (sunOrMoon < 1) then {
|
||||
[nil,nil,-1] call FUNC(setCameraAttributes);
|
||||
};
|
||||
|
||||
// Initalize the camera view
|
||||
GVAR(camera) = "Camera" camCreate (ASLtoATL GVAR(camPos));
|
||||
[] call FUNC(transitionCamera);
|
||||
|
Loading…
Reference in New Issue
Block a user