Difference between revisions of "0318"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|trilogy}} '''REGISTER_MISSION_PASSED''' <hr /> '''Description''' : Sets the latest mission passed '''Syntax''' : 0318: set_latest_mission_passed '[''string'']' '''Param...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Icon|trilogy}} '''REGISTER_MISSION_PASSED'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = REGISTER_MISSION_PASSED
: Sets the latest mission passed
+
| description = Sets the latest mission passed
'''Syntax'''
+
| syntax1    = 0318: set_latest_mission_passed '[''string'']'
: 0318: set_latest_mission_passed '[''string'']'
+
| p1t        = [''string'']
'''Parameter'''
+
| p1d        = [[GXT]] key
: [''string'']
+
}}
:: [[GXT]] string
 
  
This opcode influences the name associated with a game save as seen in the game save menu. If the opcode is called, the name of the game save is only updated after the player saves the game. The data is saved in [[Saves (GTA VC)#Block 0: Miscellaneous and Script|block 0 of the save file]] in Vice City, and in [[Saves (GTA SA)#Block 0: Miscellaneous|block 0 of the save file]] in San Andreas. If the opcode has never been called, saving the game defaults the text to the GXT string <code>ITBEG</code> (usually named "In the beginning..."). In Vice City, calling the opcode disables the restart taxi created by [[058D]].
+
This opcode influences the name associated with a game save as seen in the game save menu. If the opcode is called, the name of the game save is only updated after the player saves the game. The data is saved in [[Saves (GTA 3)|blocks 0 and 17 of the save file]] in GTA III, [[Saves (GTA VC)|blocks 0 and 19]] in Vice City, and [[Saves (GTA SA)|blocks 0 and 16]] in San Andreas. If the opcode has never been called, saving the game defaults the text to the GXT key <code>ITBEG</code> (usually named "In the beginning..."). Any text formatting using tilde (~) will not appear in the name of the save file. Text that is too long (more than 22 characters including spaces, punctuations, etc.) will truncate at 18 characters and be ended with ellipses. Invalid GXT strings will remove the name of the save file and defaults to "Save File x Not Present" for the name. In GTA III, this opcode increments by 1 to the left value of the "Missions passed" [[List of statistics (III)|stat]] ([[GXT]] key <code>FEST_MP</code>). The right value is affected by [[042C]]. In Vice City, calling the opcode disables the taxi shortcut drop-off set by [[058E]].
  
 
== Keywords ==
 
== Keywords ==
 
register, set, latest, mission, passed, pass, complete
 
register, set, latest, mission, passed, pass, complete
 
[[Category:OpCodes]]
 

Latest revision as of 23:09, 8 June 2016

GTA III Vice City San Andreas REGISTER_MISSION_PASSED


Description
Sets the latest mission passed
Syntax
0318: set_latest_mission_passed '[string]'
Parameter
[string]
GXT key

This opcode influences the name associated with a game save as seen in the game save menu. If the opcode is called, the name of the game save is only updated after the player saves the game. The data is saved in blocks 0 and 17 of the save file in GTA III, blocks 0 and 19 in Vice City, and blocks 0 and 16 in San Andreas. If the opcode has never been called, saving the game defaults the text to the GXT key ITBEG (usually named "In the beginning..."). Any text formatting using tilde (~) will not appear in the name of the save file. Text that is too long (more than 22 characters including spaces, punctuations, etc.) will truncate at 18 characters and be ended with ellipses. Invalid GXT strings will remove the name of the save file and defaults to "Save File x Not Present" for the name. In GTA III, this opcode increments by 1 to the left value of the "Missions passed" stat (GXT key FEST_MP). The right value is affected by 042C. In Vice City, calling the opcode disables the taxi shortcut drop-off set by 058E.

Keywords

register, set, latest, mission, passed, pass, complete