WLD - world manipulation functions
Functions related to the world.
Wld_ChangeLevel
Trigger level change.
world
- name of the worldwaypoint
- target waypoint
Wld_FindVob
Return the VOB instance based on its name.
vobname
- name of the vobreturn
- zCVob pointer
Wld_PlayEffectVob
Play a visual effect at specified vob
effect
- effect namepvob
- zCVob to play the effect atlevel
- effect leveldamage
- damage amountdamage_type
- damage typedamage_speed
- damage interval
Wld_PlayEffectAt
Play a visual effect at specified world coordinates
effect
- effect namecoord
- world coordinates (zVEC3
) to play the effect atlevel
- effect leveldamage
- damage amountdamage_type
- damage typedamage_speed
- damage interval
Wld_ToggleRain
Turns on the rain
weight
- the strength of the raintime
- rain duration
Wld_SetWeatherType
Sets the weather type. Types:
0
- snow 1
- rain
type
- weather type
Wld_GetWeatherType
Returns the weather type. Types:
0
- snow 1
- rain
return
- weather type