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...")
 
(more notes)
Line 9: Line 9:
 
:: [[GXT]] 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 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..."). 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 Vice City, calling the opcode disables the restart taxi created by [[058D]].
  
 
== Keywords ==
 
== Keywords ==

Revision as of 19:26, 2 January 2015

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 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 block 0 of the save file in Vice City, and in 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 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 Vice City, calling the opcode disables the restart taxi created by 058D.

Keywords

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