Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AE3

Opcode Database

0AE3

DescriptionReceives the handle of a random object, located near the point within a certain radius, determines the result of logical operation TRUE, if the object is found, and FALSE, if not.

Params
1. Variable, which will be written handle received object.
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 object at cyclic search).
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) (Returned) Object handle (Integer) (INT)
Gamessa
CategoryCLEO 4
San Andreas
sascm.ini0AE3=6, find_all_random_objects_in_sphere %1d% %2d% %3d% in_radius %4d% find_next %5h% store_to %6d%
Example0AE3: find_all_random_objects_in_sphere 0@ 1@ 2@ radius 10.0 find_next 1 store_to 3@
Command NameFIND_ALL_RANDOM_OBJECTS_IN_SPHERE

<< 0AE2

0AE4 >>