GTAG - Modding - Opcode Database - 0A3E
Opcode Database
0A3E
| Description | Returns the first char in the ped pool within radius of the specified point, under the following conditions:
This opcode will not mark the character as needed by the script. Therefore there is no need for 01C2. |
|---|---|
| Parameters (v2) | 1) X Coord (Float) (FLOAT) 2) Y Coord (Float) (FLOAT) 3) Z Coord (Float) (FLOAT) 4) X Radius (Float) (FLOAT) 5) Y Radius (Float) (FLOAT) 6) Z Radius (Float) (FLOAT) 7) (Returned) Actor handle (Integer) (INT) |
| Games | |
| Category | Actor |
| San Andreas | |
| sascm.ini | 0A3E=7,get_random_char_in_area_offset_no_save %1d% %2d% %3d% radius %4d% %5d% %6d% store_to %7d% |
| Example | 0A3E: get_random_char_in_area_offset_no_save $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.6 0.6 1.0 store_to 17@ |
| Command Name | GET_RANDOM_CHAR_IN_AREA_OFFSET_NO_SAVE |

