|
GRW ScriptHook 0.11.0
Plugin API for Ghost Recon Wildlands
|
The environment object, via the engine's transition. More...
Enumerations | |
| enum | ShWeather { SH_WEATHER_SUNNY = 0 , SH_WEATHER_CLOUDS_LIGHT , SH_WEATHER_CLOUDS_HEAVY , SH_WEATHER_FOG , SH_WEATHER_RAIN_LIGHT , SH_WEATHER_RAIN_HEAVY } |
| Weather type, blended by the engine over its default ten seconds. More... | |
Functions | |
| SH_API int | ShSetWeather (int type) |
| SH_API int | ShSetWeatherBlend (int type, float seconds) |
| The same, blended over seconds. | |
| SH_API int | ShReleaseWeather (void) |
| Hand the weather back to the ambient system. | |
| SH_API int | ShGetWeather (int *out) |
| SH_API int | ShSetTime (float hours) |
| Time of day in hours past midnight, 0 to 24. | |
| SH_API int | ShGetTime (float *out) |
| SH_API int | ShSetTimeSpeed (float multiplier) |
| Clock rate. | |
| SH_API int | ShGetTimeSpeed (float *out) |
The environment object, via the engine's transition.
| enum ShWeather |
| SH_API int ShSetWeather | ( | int | type | ) |
| SH_API int ShSetWeatherBlend | ( | int | type, |
| float | seconds ) |
The same, blended over seconds.
0 changes at once.
| SH_API int ShReleaseWeather | ( | void | ) |
Hand the weather back to the ambient system.
| SH_API int ShGetWeather | ( | int * | out | ) |
| SH_API int ShSetTime | ( | float | hours | ) |
Time of day in hours past midnight, 0 to 24.
The clock keeps running from the new hour.
| SH_API int ShGetTime | ( | float * | out | ) |
| 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.
| SH_API int ShGetTimeSpeed | ( | float * | out | ) |