Difference between revisions of "0421"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|3}} '''FORCE_RAIN''' <hr /> '''Description''' : Force rain '''Syntax''' : 0421: toggle_rain [''int''] '''Parameter''' : [''int''] :: 0 = default, {{hint|1|or any value...")
 
 
Line 1: Line 1:
{{Icon|3}} '''FORCE_RAIN'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = FORCE_RAIN
: Force rain
+
| description = Forces rain everywhere
'''Syntax'''
+
| syntax1    = 0421: force_rain [''int'']
: 0421: toggle_rain [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = 0 = default, {{hint|1|or any value other than 0}} = rain everywhere
: [''int'']
+
}}
:: 0 = default, {{hint|1|or any value other than 0}} = rain everywhere
 
  
This opcode allows raindrops to display in [[Cullzone.dat|cull zones with flag 8]] when raining. Normally entering zones with this flag do not display raindrops. The opcode has no effect on the [[Weather|rain]] itself. The [[Main.scm|original script]] called this opcode only once, during the introduction sequence.
+
Normally when raining, raindrops do not appear if you are inside [[Cullzone.dat|cull zones with attribute 8]]. This opcode forces raindrops to appear in zones with this attribute. The opcode has no effect on the [[Weather|rain weather]] itself. The [[Main.scm|original script]] called this opcode only once, during the introduction sequence.
  
 
== Keywords ==
 
== Keywords ==
 
force, toggle, rain, raindrop, weather
 
force, toggle, rain, raindrop, weather
 
[[Category:OpCodes]]
 

Latest revision as of 18:19, 2 June 2017

GTA III FORCE_RAIN


Description
Forces rain everywhere
Syntax
0421: force_rain [int]
Parameter
[int]
0 = default, 1 = rain everywhere

Normally when raining, raindrops do not appear if you are inside cull zones with attribute 8. This opcode forces raindrops to appear in zones with this attribute. The opcode has no effect on the rain weather itself. The original script called this opcode only once, during the introduction sequence.

Keywords

force, toggle, rain, raindrop, weather