BIS fnc getArea: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 18: Line 18:
* [[Location]] - location
* [[Location]] - location
* [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]</blockquote>
* [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]</blockquote>
| [[Array]] - in format [center, a, b, angle, isRectangle, height]
|r1=[[Array]] - in format [center, a, b, angle, isRectangle, height]


|x1= <code>_area = [<nowiki/>[[player]], 100] [[call]] [[BIS_fnc_getArea]];</code>
|x1= <code>_area = [<nowiki/>[[player]], 100] [[call]] [[BIS_fnc_getArea]];</code>

Revision as of 20:27, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GeometryMap and Markers

Syntax

Syntax:
Syntax needed
Parameters:
param:

Could be one of

  • Object - trigger
  • String - marker
  • Location - location
  • Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]
Return Value:
Array - in format [center, a, b, angle, isRectangle, height]

Examples

Example 1:
_area = [player, 100] call BIS_fnc_getArea;

Additional Information

See also:
createTriggercreateMarkersetTriggerAreasetMarkerSizetriggerAreamarkerSizeinAreainAreaArrayBIS_fnc_inTrigger

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