Difference between revisions of "0406"
Jump to navigation
Jump to search
(Created page with "{{Icon|3}} '''REGISTER_LONGEST_DODO_FLIGHT''' <hr /> '''Description''' : Saves the longest flight in Dodo stat '''Syntax''' : 0406: save_dodo_flight_time [''int''] '''Paramete...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|3}} | + | {{OpCode |
− | + | | games = {{Icon|3}} | |
− | + | | command = REGISTER_LONGEST_DODO_FLIGHT | |
− | + | | description = Saves the longest flight in Dodo [[List of statistics (III)|stat]] | |
− | + | | syntax1 = 0406: save_dodo_flight_time [''int''] | |
− | + | | p1t = [''int''] | |
− | + | | p1d = Integer value | |
− | + | }} | |
− | |||
− | This opcode saves the highest value to the "Longest flight in Dodo" | + | This opcode saves the highest value to the "Longest flight in Dodo" stat ([[GXT]] key <code>FEST_LF</code>). The stat will initially start with a value of 0 but it is only displayed in the stats menu when the value is greater than it. Any value higher than the saved value will update the saved value with the new value; lower values have no effect on the stat. The value set with this opcode is saved in [[Saves (GTA 3)#Block 17: Stats|block 17 of the save file]]. |
== Keywords == | == Keywords == | ||
register, save, longest, dodo, flight, statistics, stat | register, save, longest, dodo, flight, statistics, stat | ||
− | |||
− |
Revision as of 01:03, 14 November 2016
- Description
- Saves the longest flight in Dodo stat
- Syntax
- 0406: save_dodo_flight_time [int]
- Parameter
- [int]
- Integer value
This opcode saves the highest value to the "Longest flight in Dodo" stat (GXT key FEST_LF
). The stat will initially start with a value of 0 but it is only displayed in the stats menu when the value is greater than it. Any value higher than the saved value will update the saved value with the new value; lower values have no effect on the stat. The value set with this opcode is saved in block 17 of the save file.
Keywords
register, save, longest, dodo, flight, statistics, stat