Skip to content

Commit

Permalink
add(docs/natives): 2 new weather types + remove link chain (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsJunction authored Oct 29, 2024
1 parent 4f76e90 commit 35b42e8
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion MISC/GetNextWeatherTypeHashName.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ aliases: ["_GET_NEXT_WEATHER_TYPE"]
Hash GET_NEXT_WEATHER_TYPE_HASH_NAME();
```

Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.

## Return value
2 changes: 1 addition & 1 deletion MISC/GetPrevWeatherTypeHashName.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ aliases: ["_GET_PREV_WEATHER_TYPE"]
Hash GET_PREV_WEATHER_TYPE_HASH_NAME();
```

Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.

## Return value
2 changes: 1 addition & 1 deletion MISC/GetWeatherTypeTransition.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ns: MISC
void _GET_WEATHER_TYPE_TRANSITION(Hash* weatherType1, Hash* weatherType2, float* percentWeather2);
```
Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.
## Parameters
* **weatherType1**:
Expand Down
2 changes: 1 addition & 1 deletion MISC/IsNextWeatherType.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ns: MISC
BOOL IS_NEXT_WEATHER_TYPE(char* weatherType);
```
Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.
## Parameters
* **weatherType**:
Expand Down
2 changes: 1 addition & 1 deletion MISC/IsPrevWeatherType.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ns: MISC
BOOL IS_PREV_WEATHER_TYPE(char* weatherType);
```
Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.
## Parameters
* **weatherType**:
Expand Down
2 changes: 1 addition & 1 deletion MISC/SetOverrideWeather.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ns: MISC
void SET_OVERRIDE_WEATHER(char* weatherType);
```
Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.
## Parameters
* **weatherType**:
Expand Down
2 changes: 2 additions & 0 deletions MISC/SetWeatherTypeNow.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ NativeDB Introduced: v323
- BLIZZARD
- HALLOWEEN
- NEUTRAL
- RAIN_HALLOWEEN
- SNOW_HALLOWEEN
## Parameters
* **weatherType**: The weather type to set. This should be one of the predefined weather type strings.
2 changes: 1 addition & 1 deletion MISC/SetWeatherTypeOvertimePersist.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ aliases: ["_SET_WEATHER_TYPE_OVER_TIME"]
void SET_WEATHER_TYPE_OVERTIME_PERSIST(char* weatherType, float time);
```
Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.
## Parameters
* **weatherType**: The weather type to override to.
Expand Down
2 changes: 1 addition & 1 deletion MISC/SetWeatherTypePersist.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ NativeDB Introduced: v323
```
## Parameters
* **weatherType**: The weather type to be set as persistent. Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for a list of weather type strings.
* **weatherType**: The weather type to be set as persistent. Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for a list of weather type strings.
2 changes: 1 addition & 1 deletion MISC/SetWeatherTypeTransition.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ns: MISC
void _SET_WEATHER_TYPE_TRANSITION(Hash weatherType1, Hash weatherType2, float percentWeather2);
```
Refer to [`SET_WEATHER_TYPE_NOW_PERSIST`](#_0xED712CA327900C8A) for weather types.
Refer to [`SET_WEATHER_TYPE_NOW`](#_0x29B487C359E19889) for weather types.
```
Mixes two weather types. If percentWeather2 is set to 0.0f, then the weather will be entirely of weatherType1, if it is set to 1.0f it will be entirely of weatherType2. If it's set somewhere in between, there will be a mixture of weather behaviors. To test, try this in the RPH console, and change the float to different values between 0 and 1:
Expand Down

0 comments on commit 35b42e8

Please sign in to comment.