Difference between revisions of "02C7"
Jump to navigation
Jump to search
(Created page with "thumb|Platinum pickups created through 02C7 in GTA III {{OpCode | games = {{Icon|3}} | command = START_PACMAN_SCRAMBLE | description = Creates a co...") |
(No difference)
|
Revision as of 05:57, 7 October 2016
- Description
- Creates a collection of platinum pickups
- Syntax
- 02C7: scatter_platinum [int] at [flt1] [flt2] [flt3] [flt4]
- Parameter
- [int]
- Number of pickups
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z)
- [flt4]
- Maximum distance
This opcode creates a collection of platinum pickups. Each pickup is pseudorandomly placed on a point within a rectangular area, up to the x-coordinate plus or minus the maximum distance and y-coordinate minus the maximum distance. The point also must be above collision that is considered a "road", which is an object that has a PATH attached to it. If no such point is found, the game will lock up without producing a crash. The pickups are created using the bullion
model and can only be picked up while the player is in a vehicle. Every pickup collected increases your chaos level by 10. The original script called this opcode during "Bullion Run".
Keywords
start, create, scatter, bullion, platinum, pickup, pacman, scramble
See also
02C3, creates a collection of donkey magazine pickups