04FC

From GTAMods Wiki
Jump to navigation Jump to search

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