BIS fnc randomPosTrigger: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Map and Markers |GROUP1=") |
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ") |
||
Line 34: | Line 34: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:randomPosTrigger}}]] | [[Category:Functions|{{uc:randomPosTrigger}}]] | ||
[[Category:{{Name|tkoh}}: Functions|{{uc:randomPosTrigger}}]] | [[Category:{{Name|tkoh}}: Functions|{{uc:randomPosTrigger}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:randomPosTrigger}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:randomPosTrigger}}]] |
Revision as of 12:16, 13 October 2020
Description
- Description:
- Selects random position within trigger, marker, location area or area defined by array
- Execution:
- call
- Groups:
- Map and Markers
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