BIS fnc randomPosTrigger: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (documentation) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Selects random position within trigger, marker, location area or area defined by array |= | | Selects random position within trigger, marker, location area or area defined by array |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| param call [[BIS_fnc_randomPosTrigger]] |= | | param call [[BIS_fnc_randomPosTrigger]] |SYNTAX= | ||
|p1= param: [[Object]] - trigger or [[String]] - marker or [[Location]] - location or [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]|= | |p1= param: [[Object]] - trigger or [[String]] - marker or [[Location]] - location or [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]|PARAMETER1= | ||
|[[Array]] - random position in format [x,y,z] |= | |[[Array]] - random position in format [x,y,z] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[BIS_fnc_findSafePos]] |= | |[[BIS_fnc_findSafePos]] |SEEALSO= | ||
}} | }} |
Revision as of 14:32, 7 April 2019
Description
- Description:
- Selects random position within trigger, marker, location area or area defined by array
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- param call BIS_fnc_randomPosTrigger
- Parameters:
- param: Object - trigger or String - marker or Location - location or Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]
- Return Value:
- Array - random position in format [x,y,z]
Examples
- Example 1:
marker1 call BIS_fnc_randomPosTrigger;
Additional Information
- See also:
- BIS_fnc_findSafePos
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note