Difference between revisions of "01B5"

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

Revision as of 07:39, 9 August 2015

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