Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add(docs/natives): 2 new weather types + remove link chain #1206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading