Difference between revisions of "GET RANDOM CHAR IN AREA OFFSET NO SAVE"
Jump to navigation
Jump to search
(New page: {{Native |np=7 |p1t=float |p1d=X Corner of Radius |p2t=float |p2d=Y Corner of Radius |p3t=float |p3d=Z Corner of Radius |p4t=float |p4d=X Radius |p5t=float |p5d=Y Radius |p6t=float |p6d=Z ...) |
|||
Line 18: | Line 18: | ||
This function will select a random char in the specified radius and return their pointer in Parameter 7. | This function will select a random char in the specified radius and return their pointer in Parameter 7. | ||
+ | |||
+ | At the very minimum, GET_RANDOM_CHAR_IN_AREA_OFFSET_NO_SAVE must be preceded by [[BEGIN_CHAR_SEARCH_CRITERIA]] and [[END_CHAR_SEARCH_CRITERIA]]. |
Latest revision as of 01:15, 10 April 2009
Number of parameters: 7 | ||
---|---|---|
Parameter # | Type | Description |
1. | float | X Corner of Radius |
2. | float | Y Corner of Radius |
3. | float | Z Corner of Radius |
4. | float | X Radius |
5. | float | Y Radius |
6. | float | Z Radius |
7. | ped handle | return selected ped |
Return value: | ||
Type | Description | |
None |
This function will select a random char in the specified radius and return their pointer in Parameter 7.
At the very minimum, GET_RANDOM_CHAR_IN_AREA_OFFSET_NO_SAVE must be preceded by BEGIN_CHAR_SEARCH_CRITERIA and END_CHAR_SEARCH_CRITERIA.