Active sandstorm at the player's position. Uses the per-player intensity so the shelter/underground fade the sandstorm system already applies is respected.
См. определение в файле DayZPlayerCamera_Base.c строка 735
736 {
738 return false;
739
741 if (!weather)
742 return false;
743
745 if (!sandstorm || !sandstorm.
IsActive())
746 return false;
747
748 float intensity = sandstorm.
GetIntensity(player.GetPosition());
750 }
const float SANDSTORM_NVG_THRESHOLD
proto native float GetIntensity(vector worldPosition)
Returns the intensity of the sandstorm at a given position in world space. The sandstorm must be acti...
proto native bool IsActive()
Returns whether sandstorm is currently active.
proto native Sandstorm GetSandstorm()
Returns the sandstorm phenomenon weather controller.
Перекрестные ссылки g_Game, SandstormController::GetIntensity(), Weather::GetSandstorm(), SandstormController::IsActive() и SANDSTORM_NVG_THRESHOLD.
Используется в ResolveNVType().