Difference between revisions of "058C"

From GTAMods Wiki
Jump to navigation Jump to search
 
(page updates)
Line 1: Line 1:
<code>058C=1,%1d%</code><br>
+
{{Icon|VC}} {{Icon|SA}} '''GET_PROGRESS_PERCENTAGE'''
'''Description''': Gets the percentage completed<br>
+
<hr />
'''Parameter 1''': Value to store the integer<br>
+
'''Description'''
'''Supports''': GTA3, Vice City, San Andreas<br>
+
: Gets the progress of completion as a percentage
 +
'''Syntax'''
 +
: 058C: [''var''] = percentage_completed
 +
'''Parameter'''
 +
: [''var'']
 +
:: Variable to store the floating-point value
  
This gets the value of the percentage completed in the game. The value is obtained from the ratio of [[030C]] to [[030D]] as a percentage. It cannot exceed 100%.
+
This opcode gets the progress of completion as a percentage. The value is obtained from the ratio of [[030C]]'s total value to [[030D]] as a percentage. It cannot exceed 100.0.
  
==Keywords==
+
== Keywords ==
 
get, percent, complete
 
get, percent, complete
  
 
[[Category:OpCodes]]
 
[[Category:OpCodes]]

Revision as of 00:18, 28 December 2014

Vice City San Andreas GET_PROGRESS_PERCENTAGE


Description

Gets the progress of completion as a percentage

Syntax

058C: [var] = percentage_completed

Parameter

[var]
Variable to store the floating-point value

This opcode gets the progress of completion as a percentage. The value is obtained from the ratio of 030C's total value to 030D as a percentage. It cannot exceed 100.0.

Keywords

get, percent, complete