GTAG - Modding - Opcode Database - 05EF
Opcode Database
05EF
| Description | Performs a search for an actor, which is located in a specified radius around the point. |
|---|---|
| Parameters (v2) | 1) (Returned) Actor handle (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) Radius (Float) (FLOAT) 6) Boolean (1 or 0) (INT) 7) Boolean (1 or 0) (INT) |
| Games | |
| Category | Actor, III CLEO, VC CLEO |
| San Andreas | |
| sascm.ini | 05EF=0,NOP ; set_car_protect_car_rear |
| Example | |
| Command Name | SET_CAR_PROTECT_CAR_REAR |
| Vice City | |
| sascm.ini | 05EF=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5d% pass_deads %6d% |
| Example | 05EF: 3@ = random_actor_near_point 0@ 1@ 2@ in_radius 10.0 find_next 1 pass_deads 0 //IF and SET |
| GTA III | |
| gtascm.ini | 05EF=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5d% pass_deads %6d% |
| Example | 05EF: 3@ = random_actor_near_point 0@ 1@ 2@ in_radius 10.0 find_next 1 pass_deads 0 //IF and SET |

