Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 00C2

Opcode Database

00C2

DescriptionReturns true if any part of the radius of the specified point is visible on screen.

Useful for testing when the player is or is not looking near something.
Parameters (v2)1) X Coord (Float) (FLOAT)
2) Y Coord (Float) (FLOAT)
3) Z Coord (Float) (FLOAT)
4) Radius (Float) (FLOAT)
Gamessa vc iii
CategoryCommon, Conditional, Sphere
Command Name (IV)IS_POINT_ON_SCREEN
San Andreas
sascm.ini00C2=4, is_point_on_screen %1d% %2d% %3d% radius %4d%
Example00C2: is_point_on_screen 159@ 160@ 161@ radius 5.0
Command NameIS_POINT_ON_SCREEN
Vice City
sascm.ini00c2=4, is_point_on_screen %1d% %2d% %3d% %4d%
Example00C2: is_point_on_screen 4@ 5@ 6@ radius 5.0
Command NameIS_POINT_ON_SCREEN
GTA III
gtascm.ini00c2=4, is_point_on_screen %1d% %2d% %3d% %4d%
Example00C2: is_point_on_screen 1@ 2@ 3@ radius 5.0
Command NameIS_POINT_ON_SCREEN

<< 00C1

00C3 >>