Difference between revisions of "041F"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|3}} | command = OVERRIDE_HOSPITAL_LEVEL | description = Overrides the hospital level | syntax1 = 041F: override_hospital [''int''] | p1...")
 
m
 
Line 8: Line 8:
 
}}
 
}}
  
This opcode overrides the hospital level. The next time the player dies, the player will spawn at the [[016C|hospital restart point]] on the corresponding level number. If there is no point on the corresponding level number, the default spawn behavior is used instead. The behavior resets after the player dies or if the level number is set to 0. The value set with this opcode is saved in [[Saves (GTA 3)#Block 9: Restarts|block 9 of the save file]].
+
This opcode overrides the hospital level. The next time the player dies, the player will spawn at the [[016C|hospital restart point]] on the corresponding level number. If there is no point on the corresponding level number, the default spawn behavior is used instead. The behavior resets after the player dies, is arrested, or if the level number is set to 0. The value set with this opcode is saved in [[Saves (GTA 3)#Block 9: Restarts|block 9 of the save file]].
  
 
== Keywords ==
 
== Keywords ==

Latest revision as of 08:13, 3 February 2016

GTA III OVERRIDE_HOSPITAL_LEVEL


Description
Overrides the hospital level
Syntax
041F: override_hospital [int]
Parameter
[int]
Level number (0 = default, 1 = Portland, 2 = Staunton Island, 3 = Shoreside Vale)

This opcode overrides the hospital level. The next time the player dies, the player will spawn at the hospital restart point on the corresponding level number. If there is no point on the corresponding level number, the default spawn behavior is used instead. The behavior resets after the player dies, is arrested, or if the level number is set to 0. The value set with this opcode is saved in block 9 of the save file.

Keywords

override, hospital, restart, wasted, level

See also

  • GTA III 0420, overrides the police station level