Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 00FF

Opcode Database

00FF

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_ON_FOOT_3D
San Andreas
sascm.ini00FF=8, locate_char_on_foot_3d %1d% coord %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d%
Example00FF: locate_char_on_foot_3d $PLAYER_ACTOR coord $X_JOHNSON_HOUSE $Y_JOHNSON_HOUSE $Z_JOHNSON_HOUSE radius 1.0 1.0 2.0 sphere 0
Command NameLOCATE_CHAR_ON_FOOT_3D
Vice City
sascm.ini00ff=8, actor %1d% %8b:in-sphere/%near_point_on_foot %2d% %3d% %4d% radius %5d% %6d% %7d%
Example00FF: actor $2291 in_sphere 0 near_point_on_foot $2316 $2317 $2318 radius 2.0 2.0 2.0
Command NameLOCATE_CHAR_ON_FOOT_3D
GTA III
gtascm.ini00ff=8, actor %1d% %8b:in-sphere/%near_point_on_foot %2d% %3d% %4d% radius %5d% %6d% %7d%
Example00FF: actor $1498 0 1209.375 -807.1874 14.0 radius 4.0 4.0 4.0
Command NameLOCATE_CHAR_ON_FOOT_3D

<< 00FE

0100 >>