GTAG - Modding - Opcode Database - 03BC
Opcode Database
03BC
| Description | Creates a static sphere at the specified coordinates, with the specified radius. Note: This is not the command used for most markers in the games. Instead, specific "locate" commands are used which also return whether the entering sphere conditions are met, e.g. 00FE. |
|---|---|
| Parameters (v2) | 1) X Coord (Float) (FLOAT) 2) Y Coord (Float) (FLOAT) 3) Z Coord (Float) (FLOAT) 4) Radius (Float) (FLOAT) 5) (Returned) Handle (Integer) (INT) |
| Games | |
| Category | Common, Creation, Sphere |
| San Andreas | |
| sascm.ini | 03BC=5,add_sphere %1d% %2d% %3d% radius %4d% store_to %5d% |
| Example | 03BC: add_sphere 2596.589 2758.158 22.862 radius 1.0 store_to 149@ |
| Command Name | ADD_SPHERE |
| Vice City | |
| sascm.ini | 03bc=5,%5d% = create_sphere %1d% %2d% %3d% %4d% |
| Example | 03BC: 6@ = create_sphere 14@ 15@ 12@ 0.75 |
| Command Name | ADD_SPHERE |
| GTA III | |
| gtascm.ini | 03bc=5,%5d% = create_sphere %1d% %2d% %3d% %4d% |
| Example | 03BC: $1607 = create_sphere 925.0625 -350.4999 9.25 2.5 |
| Command Name | ADD_SPHERE |

