Difference between revisions of "04FC"
(Created page with "{{Icon|VC}} {{Icon|SA}} '''GET_WHEELIE_STATS''' <hr /> '''Description''' : Checks current type of bomb armed in the vehicle '''Syntax''' : 04FC: store_stunt_data [''player han...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|VC}} {{Icon|SA}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} {{Icon|SA}} | |
− | + | | command = GET_WHEELIE_STATS | |
− | + | | description = Gets two wheels, wheelie, and stoppie stunt data | |
− | + | | syntax1 = 04FC: store_stunt_data [''player handle''] two_wheels: [''var1''] [''var2''] wheelie: [''var3''] [''var4''] stoppie: [''var5''] [''var6''] | |
− | + | | p1t = [''player handle''] | |
− | + | | p1d = The [[0053|handle of the player]] | |
− | + | | p2t = [''var1''] | |
− | + | | p2d = Variable to store the duration of a two wheels stunt in milliseconds, an integer value | |
− | + | | p3t = [''var2''] | |
− | + | | p3d = Variable to store the distance of a two wheels stunt in units, a floating-point value | |
− | + | | p4t = [''var3''] | |
− | + | | p4d = Variable to store the duration of a [[07F1|wheelie]] stunt in milliseconds, an integer value | |
− | + | | p5t = [''var4''] | |
− | + | | p5d = Variable to store the distance of a wheelie stunt in units, a floating-point value | |
− | + | | p6t = [''var5''] | |
− | + | | p6d = Variable to store the duration of a [[07F2|stoppie]] stunt in milliseconds, an integer value | |
− | + | | p7t = [''var6''] | |
− | + | | p7d = 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 [[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 — 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 | ||
− | |||
− |
Latest revision as of 14:31, 16 December 2016
- 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