032B
Revision as of 00:41, 29 June 2015 by Spaceeinstein (talk | contribs)
Description
- Creates a pickup with ammo
Syntax
- 032B: [var] = create_weapon_pickup [int1] [int2] ammo [int3] at [flt1] [flt2] [flt3]
Parameter
- [var]
- Variable to store the handle of the pickup
- [int1]
- [int2]
- [int3]
- Ammo count
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or -100.0 for ground z + 0.5 units)
Native analog
This opcode spawns a pickup at a coordinates point that can be "collected" by the player. It is almost equivalent to opcode 0213 but with an additional parameter that sets the ammo count of the pickup. Using an ammo count of 0 creates a pickup equivalent to opcode 0213. The additional parameter makes pickup type 7 in GTA III and type 8 in Vice City useful — it sets the amount of money for the pickup type.
Keywords
create, pickup, weapon, ammo