BIS_fnc_randomPosTrigger

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Take On Helicopters version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Take On Helicopters
Version:
1.00

Description

Description:
Selects random position within trigger, marker, location area or area defined by array

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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_findSafePos

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section