GTAG - Modding - Opcode Database - 0AE1
Opcode Database
0AE1
| Description | Gets the handle of an actor who is close to a point within a certain radius, determines the result of logical operation TRUE, if the actor is found, and FALSE, if not. Params: 1. Variable, which will be written handle obtained the actor. 2. X Coord. 3. Y Coord. 4. Z Coord. 5. Radius of the coordinates. 6. Flag that specifies search, starting with the last found these opcodes (not to stumble constantly on one and the same actor when looping search); 7. Flag that specifies the omission of dead actors. |
|---|---|
| Parameters (v2) | 1) X Coord (Float) (FLOAT) 2) Y Coord (Float) (FLOAT) 3) Z Coord (Float) (FLOAT) 4) Radius (Float) (FLOAT) 5) Boolean (1 or 0) (INT) 6) Boolean (1 or 0) (INT) 7) (Returned) Actor handle (Integer) (INT) |
| Games | |
| Category | CLEO 4 |
| San Andreas | |
| sascm.ini | 0AE1=7, find_all_random_chars_in_sphere %1d% %2d% %3d% radius %4d% find_next %5h% skip_dead %6h% store_to %7d% |
| Example | 0AE1: find_all_random_chars_in_sphere 0@ 1@ 2@ radius 10.0 find_next 1 skip_dead 1 store_to 3@ |
| Command Name | FIND_ALL_RANDOM_CHARS_IN_SPHERE |

