Difference between revisions of "030D"
Jump to navigation
Jump to search
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|trilogy}} | |
− | '' | + | | command = SET_PROGRESS_TOTAL |
− | ''' | + | | description = Sets total progress points |
+ | | syntax1 = 030D: set_total_mission_points_to [''int''] | ||
+ | | p1t = [''int''] | ||
+ | | p1d = Integer value | ||
+ | }} | ||
− | This sets the total amount of progress points that can be achieved. | + | 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== | + | In [[GTA3script]] the parameter for this opcode should be <code>0</code>. The compiler will automatically discover the total progress by analyzing all occurrences of opcode [[030C]]. |
+ | |||
+ | == Keywords == | ||
set, mission, progress, point | set, mission, progress, point | ||
− | |||
− |
Latest revision as of 22:23, 22 December 2016
- 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.
In GTA3script the parameter for this opcode should be 0
. The compiler will automatically discover the total progress by analyzing all occurrences of opcode 030C.
Keywords
set, mission, progress, point