Difference between revisions of "030D"

From GTAMods Wiki
Jump to navigation Jump to search
(german version)
(page updates)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''SET_PROGRESS_TOTAL'''
| ini        = 030D=1,%1d%
+
<hr />
| description = Sets total progress points
+
'''Description'''
| p1          = Integer
+
: Sets total progress points
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''Syntax'''
}}
+
: 030D: set_total_mission_points_to [''int'']
This sets the total amount of progress points that can be achieved. The progress points can be incremented using [[030C]]. Not giving a value to this opcode will make the total progress points set to 0. In the German version of Vice City, the value read by the game will be two less than the value set by this opcode, i.e., if 154 is set, the game will read it as 152.
+
'''Parameter'''
 +
: [''int'']
 +
:: Integer value
  
==Keywords==
+
This sets the total amount of progress points that can be achieved. Progress points can be incremented using [[030C]]. Not giving a value to this opcode will initialize the total progress points to <code>0</code>. The value set with this opcode is saved in [[Saves (GTA VC)#Block 19: Stats|block 19 of the save file]] in Vice City. When calling the opcode in the German version of Vice City, the game will automatically subtract two from the value set by the opcode, e.g., if <code>154</code> is set, the game will subtract it by two and reset the value to <code>152</code> internally.
 +
 
 +
== Keywords ==
 
set, mission, progress, point
 
set, mission, progress, point
 +
 +
[[Category:OpCodes]]

Revision as of 00:38, 28 December 2014

GTA III Vice City San Andreas SET_PROGRESS_TOTAL


Description

Sets total progress points

Syntax

030D: set_total_mission_points_to [int]

Parameter

[int]
Integer value

This sets the total amount of progress points that can be achieved. Progress points can be incremented using 030C. Not giving a value to this opcode will initialize the total progress points to 0. The value set with this opcode is saved in block 19 of the save file in Vice City. When calling the opcode in the German version of Vice City, the game will automatically subtract two from the value set by the opcode, e.g., if 154 is set, the game will subtract it by two and reset the value to 152 internally.

Keywords

set, mission, progress, point