Difference between revisions of "042C"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|t}} '''SET_TOTAL_NUMBER_OF_MISSIONS''' <hr /> '''Description''' : Sets the total number of missions '''Syntax''' : 042C: set_total_missions_to [''int''] '''Parameter'''...")
 
m
Line 1: Line 1:
{{Icon|t}} '''SET_TOTAL_NUMBER_OF_MISSIONS'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = SET_TOTAL_NUMBER_OF_MISSIONS
: Sets the total number of missions
+
| description = Sets the total number of missions
'''Syntax'''
+
| syntax1    = 042C: set_total_missions_to [''int'']
: 042C: set_total_missions_to [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Integer value
: [''int'']
+
}}
:: Integer value
 
  
In GTA III, this opcode sets right value of the "Missions passed" [[List of statistics (III)|stat]] ([[GXT]] string <code>FEST_MP</code>). The left value is affected by [[0318]]. The stat initially starts with a value of 0. That stat does not exist in Vice City so the opcode has no practical effect there. The value set with this opcode is saved in [[Saves (GTA 3)#Block 17: Stats|block 17 of the save file]] in GTA III and [[Saves (GTA VC)#Block 19: Stats|block 19]] in Vice City.
+
In GTA III, this opcode sets right value of the "Missions passed" [[List of statistics (III)|stat]] ([[GXT]] key <code>FEST_MP</code>). The left value is affected by [[0318]]. The stat initially starts with a value of 0. That stat does not exist in Vice City so the opcode has no practical effect there. The value set with this opcode is saved in [[Saves (GTA 3)#Block 17: Stats|block 17 of the save file]] in GTA III and [[Saves (GTA VC)#Block 19: Stats|block 19]] in Vice City.
  
 
== Keywords ==
 
== Keywords ==
 
set, total, number, mission
 
set, total, number, mission
 
[[Category:OpCodes]]
 

Revision as of 01:08, 14 November 2016

GTA III Vice City San Andreas SET_TOTAL_NUMBER_OF_MISSIONS


Description
Sets the total number of missions
Syntax
042C: set_total_missions_to [int]
Parameter
[int]
Integer value

In GTA III, this opcode sets right value of the "Missions passed" stat (GXT key FEST_MP). The left value is affected by 0318. The stat initially starts with a value of 0. That stat does not exist in Vice City so the opcode has no practical effect there. The value set with this opcode is saved in block 17 of the save file in GTA III and block 19 in Vice City.

Keywords

set, total, number, mission