Difference between revisions of "02ED"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 02ED=1,%1d% | description = Sets the total number of hidden packages | p1 = Integer | game = GTA 3, Vice City }} This opcode sets…')
 
Line 1: Line 1:
{{OpCode
+
{{Icon|3}} {{Icon|VC}}
| ini        = 02ED=1,%1d%
+
<hr />
| description = Sets the total number of hidden packages
+
'''Description'''
| p1          = Integer
+
: Sets the total number of hidden packages
| game        = [[GTA 3]], [[Vice City]]
+
'''Syntax'''
}}
+
: 02ED: set_total_hidden_packages_to [''int'']
This opcode sets the total number of hidden packages. If no value is set with this opcode, the game will set the total to <i>3</i> by default. The value set here will not change the total number of packages displayed in the stats menu but the ratio of collected packages to the ratio of total number of packages will be correct. For example, if there are only five hidden packages and the third is collected, the onscreen display will correctly show "Hidden Package 3 of 5" but the stats menu will show "60 out of 100".
+
'''Parameter'''
 +
: [''int'']
 +
:: Total number of hidden packages
  
==Keywords==
+
This opcode sets the total number of hidden packages. If no value is set with this opcode, the game will set the total to <i>3</i> by default. The value set here will not change the total number of packages displayed in the stats menu but the ratio of collected packages to the ratio of total number of packages will be correct. For example, if there are only five hidden packages and the third is collected, the onscreen display will correctly show "Hidden Package 3 of 5" but the stats menu will show "60 out of 100". The value set with this opcode is saved in [[Saves (GTA VC)#Block 18: Player Info|block 18 of the save file]] in Vice City.
 +
 
 +
== Keywords ==
 
set, total, hidden, package
 
set, total, hidden, package
 +
 +
[[Category:OpCodes]]

Revision as of 20:35, 9 December 2011

GTA III Vice City


Description

Sets the total number of hidden packages

Syntax

02ED: set_total_hidden_packages_to [int]

Parameter

[int]
Total number of hidden packages

This opcode sets the total number of hidden packages. If no value is set with this opcode, the game will set the total to 3 by default. The value set here will not change the total number of packages displayed in the stats menu but the ratio of collected packages to the ratio of total number of packages will be correct. For example, if there are only five hidden packages and the third is collected, the onscreen display will correctly show "Hidden Package 3 of 5" but the stats menu will show "60 out of 100". The value set with this opcode is saved in block 18 of the save file in Vice City.

Keywords

set, total, hidden, package