Difference between revisions of "01B5"

From GTAMods Wiki
Jump to navigation Jump to search
(created article)
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 01B5=1,%1d%
+
| games      = {{Icon|t}}
| description = Sets the next weather cycle
+
| command    = FORCE_WEATHER
| p1          = [[01B6#List_of_Weather_IDs|weather ID]]
+
| description = Sets the upcoming [[weather]] type
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| syntax1    = 01B5: force_weather [''int'']
 +
| p1t        = [''int'']
 +
| p1d        = [[Time cycle#Weather types|Weather type]]
 
}}
 
}}
This opcode sets the next weather cycle to the assigned weather ID. The current weather will not change. To instantly change the weather, use opcode [[01B6]].
 
  
==Keywords==
+
This opcode sets the upcoming weather type. The current weather will transition to the weather type but the weather does not immediately change. To immediately change the weather, use opcode [[01B6]]. The value set with this opcode is saved in block 0 of the [[Savegame|save file]].
 +
 
 +
== Keywords ==
 
set, force, weather
 
set, force, weather

Latest revision as of 22:53, 22 April 2017

GTA III Vice City San Andreas FORCE_WEATHER


Description
Sets the upcoming weather type
Syntax
01B5: force_weather [int]
Parameter
[int]
Weather type

This opcode sets the upcoming weather type. The current weather will transition to the weather type but the weather does not immediately change. To immediately change the weather, use opcode 01B6. The value set with this opcode is saved in block 0 of the save file.

Keywords

set, force, weather