Difference between revisions of "01B6"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Icon|t}} '''FORCE_WEATHER_NOW'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = FORCE_WEATHER_NOW
: Sets the [[weather]] type immediately
+
| description = Sets the [[weather]] type immediately
'''Syntax'''
+
| syntax1    = 01B6: set_weather [''int'']
: 01B6: set_weather [''int'']
+
| syntax2    = set_weather [''int'']
: set_weather [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = [[Time cycle#Weather types|Weather type]]
: [''int'']
+
}}
:: [[Time cycle#Weather Types|Weather type]]
 
  
This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results.
+
This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results. The value set with this opcode is saved in block 0 of the [[Savegame|save file]].
  
 
== Keywords ==
 
== Keywords ==
 
set, force, weather, now
 
set, force, weather, now
 
[[Category:OpCodes]]
 

Latest revision as of 22:54, 22 April 2017

GTA III Vice City San Andreas FORCE_WEATHER_NOW


Description
Sets the weather type immediately
Syntax
01B6: set_weather [int]
set_weather [int]
Parameter
[int]
Weather type

This opcode sets the weather type immediately. Values outside the possible range of weather types up to 255 produce weird results. The value set with this opcode is saved in block 0 of the save file.

Keywords

set, force, weather, now