Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 00FE

Opcode Database

00FE

DescriptionSets up a point on the map where the characters presence can be detected. If the 'sphere' bool is set to true, a cyllinder marker will indicate the position of the target point.

This 'LOCATE' command returns true under the highlighted conditions:
  • Character is within the radius of the point
  • Character is in a vehicle
  • Character is on foot
  • Character is moving
  • Character is stopped
Parameters (v2)1) Actor handle (Integer) (INT)
2) X Coord (Float) (FLOAT)
3) Y Coord (Float) (FLOAT)
4) Z Coord (Float) (FLOAT)
5) X Radius (Float) (FLOAT)
6) Y Radius (Float) (FLOAT)
7) Z Radius (Float) (FLOAT)
8) Boolean (1 or 0) (INT)
Gamessa vc iii
CategoryActor, Common, Conditional, Locate
Command Name (IV)LOCATE_CHAR_ANY_MEANS_3D
San Andreas
sascm.ini00FE=8, locate_char_any_means_3d %1d% coord %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d%
Example00FE: locate_char_any_means_3d $PLAYER_ACTOR coord 658.0068 -1866.313 4.4537 radius 15.0 15.0 15.0 sphere 0
Command NameLOCATE_CHAR_ANY_MEANS_3D
Vice City
sascm.ini00fe=8, actor %1d% %8b:in-sphere/%near_point %2d% %3d% %4d% radius %5d% %6d% %7d%
Example00FE: actor $Lance_Vance in_sphere 0 near_point 427.6 -584.7 10.6 radius 1.0 1.0 5.0
Command NameLOCATE_CHAR_ANY_MEANS_3D
GTA III
gtascm.ini00fe=8, actor %1d% %8b:in-sphere/%near_point %2d% %3d% %4d% radius %5d% %6d% %7d%
Example00FE: actor $FRANK3_CARTEL4 0 1517.5 -940.5624 18.375 radius 0.5 0.5 2.0
Command NameLOCATE_CHAR_ANY_MEANS_3D

<< 00FD

00FF >>