Difference between revisions of "01B6"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 10: Line 10:
 
:: [[Time cycle#Weather Types|Weather type]]
 
:: [[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 ==

Revision as of 07:39, 9 August 2015

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