Difference between revisions of "01B5"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Icon|t}} '''FORCE_WEATHER'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = FORCE_WEATHER
: Sets the upcoming [[weather]] type
+
| description = Sets the upcoming [[weather]] type
'''Syntax'''
+
| syntax1    = 01B5: force_weather [''int'']
: 01B5: force_weather [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = [[Time cycle#Weather types|Weather type]]
: [''int'']
+
}}
:: [[Time cycle#Weather Types|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]].
+
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 ==
 
== Keywords ==
 
set, force, weather
 
set, force, weather
 
[[Category:OpCodes]]
 

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