GTAG - Modding - Opcode Database - 00C2
Opcode Database
00C2
| Description | Returns 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) |
| Games | |
| Category | Common, Conditional, Sphere |
| Command Name (IV) | IS_POINT_ON_SCREEN |
| San Andreas | |
| sascm.ini | 00C2=4, is_point_on_screen %1d% %2d% %3d% radius %4d% |
| Example | 00C2: is_point_on_screen 159@ 160@ 161@ radius 5.0 |
| Command Name | IS_POINT_ON_SCREEN |
| Vice City | |
| sascm.ini | 00c2=4, is_point_on_screen %1d% %2d% %3d% %4d% |
| Example | 00C2: is_point_on_screen 4@ 5@ 6@ radius 5.0 |
| Command Name | IS_POINT_ON_SCREEN |
| GTA III | |
| gtascm.ini | 00c2=4, is_point_on_screen %1d% %2d% %3d% %4d% |
| Example | 00C2: is_point_on_screen 1@ 2@ 3@ radius 5.0 |
| Command Name | IS_POINT_ON_SCREEN |

