Difference between revisions of "0213"
(New page: <code>0213=6,%1o% %2d% %3d% %4d% %5d% %6d%</code><br> '''Description''': Creates a pickup<br> '''Parameter 1''': DFF object model ID or name<br> '''Parameter 2''': Type<br> '''Paramete...) |
|||
Line 15: | Line 15: | ||
15 Replenishing pickup, once picked up, after a certain amount of time it will respawn<br> | 15 Replenishing pickup, once picked up, after a certain amount of time it will respawn<br> | ||
21 San Andreas only, 2-player rampage | 21 San Andreas only, 2-player rampage | ||
+ | |||
+ | ==Note== | ||
+ | Sometimes this opcode is written as this:<br> | ||
+ | <code>0213=6,%6d% %1o% %2d% %3d% %4d% %5d%</code><br> | ||
+ | The sixth parameter is placed in the beginning instead of at the end. This depends on which sascm.ini file you use.<br> | ||
+ | [[Sanny Builder]] by default: | ||
+ | <code>0213: 0@ = create_pickup #BAT type 15 at 0.0 0.0 0.0</code> | ||
==Keywords== | ==Keywords== |
Revision as of 21:17, 27 August 2008
0213=6,%1o% %2d% %3d% %4d% %5d% %6d%
Description: Creates a pickup
Parameter 1: DFF object model ID or name
Parameter 2: Type
Parameter 3: X-coordinate
Parameter 4: Y-coordinate
Parameter 5: Z-coordinate
Parameter 6: Pickup handle
Supports: GTA3, Vice City, San Andreas
This creates a pickup at a coordinate that can be "picked" up by the player. It creates a spinning object (with a glowing halo in GTA3 and Vice City) that disappears when the player goes through it. If the model is a useable weapon, the player will be able to pick it up and use it.
Types of Pickups
3 One-time pickup, once picked up it doesn't respawn
15 Replenishing pickup, once picked up, after a certain amount of time it will respawn
21 San Andreas only, 2-player rampage
Note
Sometimes this opcode is written as this:
0213=6,%6d% %1o% %2d% %3d% %4d% %5d%
The sixth parameter is placed in the beginning instead of at the end. This depends on which sascm.ini file you use.
Sanny Builder by default:
0213: 0@ = create_pickup #BAT type 15 at 0.0 0.0 0.0
Keywords
create, pickup