Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0102

Opcode Database

0102

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, Locate
San Andreas
sascm.ini0102=8, locate_stopped_char_on_foot_3d %1d% coord %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h%
Example0102: locate_stopped_char_on_foot_3d $PLAYER_ACTOR coord 2468.8 -1278.2 29.1 radius 1.2 1.2 3.0 sphere 1
Command NameLOCATE_STOPPED_CHAR_ON_FOOT_3D
Vice City
sascm.ini0102=8, actor %1d% stopped_near_point_on_foot %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h%
Example0102: actor $5285 stopped_near_point_on_foot -693.58 1213.18 23.16 radius 1.0 1.0 2.0 sphere 0
Command NameLOCATE_STOPPED_CHAR_ON_FOOT_3D
GTA III
gtascm.ini0102=8, actor %1d% stopped_near_point_on_foot %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h%
Example0102: actor $actor stopped_near_point_on_foot 0@ 1@ 2@ radius 1.0 1.0 2.0 sphere 0
Command NameLOCATE_STOPPED_CHAR_ON_FOOT_3D

<< 0101

0103 >>