JerryC wrote:I already know that you can specify a particular node (part) in an Asset to show during the day or night by naming the object fx_day or fx_night. Does anyone know if you can also do this with environmental variables? Some thing like having the object only show when it's raining? (fx_rain?)
local PrecipitationType = SysCall("WeatherController:GetCurrentPrecipitationType")
-- 0 = rain or clear, 1 = sleet, 2 = hail, 3 = snow
local PrecipitationDensity = SysCall("WeatherController:GetPrecipitationDensity")
-- 0 = none, 0.5 = rainy, 1.0 = stormy
Users browsing this forum: No registered users and 1 guest