Skip to content

Weather and time ​

Group weather · 8 exports · from forks/gamexueren/scripthook.h (framework 1.0-beta7-wildm1, SH_API_VERSION 2)

The environment object, via the engine's transition.

ExportSummary
ShSetWeather—
ShSetWeatherBlendThe same, blended over seconds.
ShReleaseWeatherHand the weather back to the ambient system.
ShGetWeatherSee ShReleaseWeather.
ShSetTimeTime of day in hours past midnight, 0 to 24.
ShGetTimeSee ShSetTime.
ShSetTimeSpeedClock rate.
ShGetTimeSpeedSee ShSetTimeSpeed.

ShSetWeather ​

c
SH_API int  ShSetWeather(int type);

No doc comment in the header.

scripthook.h, line 3058

ShSetWeatherBlend ​

c
SH_API int  ShSetWeatherBlend(int type, float seconds);

The same, blended over seconds. 0 changes at once.

scripthook.h, line 3060

ShReleaseWeather ​

c
SH_API int  ShReleaseWeather(void);

Hand the weather back to the ambient system.

scripthook.h, line 3062

ShGetWeather ​

c
SH_API int  ShGetWeather(int *out);

Documented together with ShReleaseWeather just above.

scripthook.h, line 3063

ShSetTime ​

c
SH_API int  ShSetTime(float hours);

Time of day in hours past midnight, 0 to 24. The clock keeps running from the new hour.

scripthook.h, line 3068

ShGetTime ​

c
SH_API int  ShGetTime(float *out);

Documented together with ShSetTime just above.

scripthook.h, line 3069

ShSetTimeSpeed ​

c
SH_API int  ShSetTimeSpeed(float multiplier);

Clock rate. 1 is normal, 0 stops it, 100 runs a day in about fifteen minutes. Holds until set again.

scripthook.h, line 3074

ShGetTimeSpeed ​

c
SH_API int  ShGetTimeSpeed(float *out);

Documented together with ShSetTimeSpeed just above.

scripthook.h, line 3075

WildM is an independent community project. It is not affiliated with or endorsed by Ubisoft. Ghost Recon Wildlands is a trademark of Ubisoft Entertainment.