Difference between revisions of "04FC"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
{{Icon|VC}} {{Icon|SA}} '''GET_WHEELIE_STATS'''
+
{{OpCode
<hr />
+
| games      = {{Icon|VC}} {{Icon|SA}}
'''Description'''
+
| command    = GET_WHEELIE_STATS
: Gets two wheels, wheelie, and stoppie stunt data
+
| description = Gets two wheels, wheelie, and stoppie stunt data
'''Syntax'''
+
| syntax1    = 04FC: store_stunt_data [''player handle''] two_wheels: [''var1''] [''var2''] wheelie: [''var3''] [''var4''] stoppie: [''var5''] [''var6'']
: 04FC: store_stunt_data [''player handle''] two_wheels: [''var1''] [''var2''] wheelie: [''var3''] [''var4''] stoppie: [''var5''] [''var6'']
+
| p1t        = [''player handle'']
'''Parameter'''
+
| p1d        = The [[0053|handle of the player]]
: [''player handle'']
+
| p2t        = [''var1'']
:: The [[0053|handle of the player]]
+
| p2d        = Variable to store the duration of a two wheels stunt in milliseconds, an integer value
: [''var1'']
+
| p3t        = [''var2'']
:: Variable to store the integer duration in milliseconds of a two wheels stunt
+
| p3d        = Variable to store the distance of a two wheels stunt in units, a floating-point value
: [''var2'']
+
| p4t        = [''var3'']
:: Variable to store the floating-point distance in units of a two wheels stunt
+
| p4d        = Variable to store the duration of a [[07F1|wheelie]] stunt in milliseconds, an integer value
: [''var3'']
+
| p5t        = [''var4'']
:: Variable to store the integer duration in milliseconds of a [[07F1|wheelie]] stunt
+
| p5d        = Variable to store the distance of a wheelie stunt in units, a floating-point value
: [''var4'']
+
| p6t        = [''var5'']
:: Variable to store the floating-point distance in units of a wheelie stunt
+
| p6d        = Variable to store the duration of a [[07F2|stoppie]] stunt in milliseconds, an integer value
: [''var5'']
+
| p7t        = [''var6'']
:: Variable to store the integer duration in milliseconds of a [[07F2|stoppie]] stunt
+
| p7d        = Variable to store the distance of a stoppie stunt in units, a floating-point value
: [''var6'']
+
}}
:: Variable to store the floating-point distance in units of a stoppie stunt
 
  
 
This opcode gets the data of two wheels, wheelie, and stoppie stunts. After the opcode is called, all the stunt data are immediately set 0. The two wheels or stoppie stunt must be performed for more than two seconds or the wheelie stunt for more than five seconds in order to be able to get any data for those stunts &mdash; the three stunts are independent of each other but the duration and distance of each stunt are dependent on the stunt. Interestingly the game does not use this opcode to register stunt data into the statistics; it registers them regardless of this opcode. This opcode is primarily used to display stunt data onscreen in the [[Hyperjump|stunt jump]] script in the [[Main.scm|original script]].
 
This opcode gets the data of two wheels, wheelie, and stoppie stunts. After the opcode is called, all the stunt data are immediately set 0. The two wheels or stoppie stunt must be performed for more than two seconds or the wheelie stunt for more than five seconds in order to be able to get any data for those stunts &mdash; the three stunts are independent of each other but the duration and distance of each stunt are dependent on the stunt. Interestingly the game does not use this opcode to register stunt data into the statistics; it registers them regardless of this opcode. This opcode is primarily used to display stunt data onscreen in the [[Hyperjump|stunt jump]] script in the [[Main.scm|original script]].
Line 25: Line 24:
 
== Keywords ==
 
== Keywords ==
 
get, store, stunt, data, stat, stats, statistics, wheelie, stoppie, two, wheels, bonus
 
get, store, stunt, data, stat, stats, statistics, wheelie, stoppie, two, wheels, bonus
 
[[Category:OpCodes]]
 

Latest revision as of 14:31, 16 December 2016

Vice City San Andreas GET_WHEELIE_STATS


Description
Gets two wheels, wheelie, and stoppie stunt data
Syntax
04FC: store_stunt_data [player handle] two_wheels: [var1] [var2] wheelie: [var3] [var4] stoppie: [var5] [var6]
Parameter
[player handle]
The handle of the player
[var1]
Variable to store the duration of a two wheels stunt in milliseconds, an integer value
[var2]
Variable to store the distance of a two wheels stunt in units, a floating-point value
[var3]
Variable to store the duration of a wheelie stunt in milliseconds, an integer value
[var4]
Variable to store the distance of a wheelie stunt in units, a floating-point value
[var5]
Variable to store the duration of a stoppie stunt in milliseconds, an integer value
[var6]
Variable to store the distance of a stoppie stunt in units, a floating-point value

This opcode gets the data of two wheels, wheelie, and stoppie stunts. After the opcode is called, all the stunt data are immediately set 0. The two wheels or stoppie stunt must be performed for more than two seconds or the wheelie stunt for more than five seconds in order to be able to get any data for those stunts — the three stunts are independent of each other but the duration and distance of each stunt are dependent on the stunt. Interestingly the game does not use this opcode to register stunt data into the statistics; it registers them regardless of this opcode. This opcode is primarily used to display stunt data onscreen in the stunt jump script in the original script.

Keywords

get, store, stunt, data, stat, stats, statistics, wheelie, stoppie, two, wheels, bonus