Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 03BC

Opcode Database

03BC

DescriptionCreates 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)
Gamessa vc iii
CategoryCommon, Creation, Sphere
San Andreas
sascm.ini03BC=5,add_sphere %1d% %2d% %3d% radius %4d% store_to %5d%
Example03BC: add_sphere 2596.589 2758.158 22.862 radius 1.0 store_to 149@
Command NameADD_SPHERE
Vice City
sascm.ini03bc=5,%5d% = create_sphere %1d% %2d% %3d% %4d%
Example03BC: 6@ = create_sphere 14@ 15@ 12@ 0.75
Command NameADD_SPHERE
GTA III
gtascm.ini03bc=5,%5d% = create_sphere %1d% %2d% %3d% %4d%
Example03BC: $1607 = create_sphere 925.0625 -350.4999 9.25 2.5
Command NameADD_SPHERE

<< 03BB

03BD >>