BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr2 = Map and Markers |GROUP2= | |gr2 = Map and Markers |GROUP2= | ||
| Extracts area information from trigger, marker, location or array|DESCRIPTION= | | Extracts area information from trigger, marker, location or array|DESCRIPTION= | ||
| param call [[BIS_fnc_getArea]] |SYNTAX= | | param call [[BIS_fnc_getArea]] |SYNTAX= | ||
Line 22: | Line 19: | ||
* [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]</blockquote>|PARAMETER1= | * [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]</blockquote>|PARAMETER1= | ||
| [[Array]] - in format [center, a, b, angle, isRectangle, height] |RETURNVALUE= | | [[Array]] - in format [center, a, b, angle, isRectangle, height] |RETURNVALUE= | ||
|x1= <code>_area = [<nowiki/>[[player]], 100] [[call]] [[BIS_fnc_getArea]];</code> |EXAMPLE1= | |x1= <code>_area = [<nowiki/>[[player]], 100] [[call]] [[BIS_fnc_getArea]];</code> |EXAMPLE1= | ||
| [[createTrigger]], [[createMarker]], [[setTriggerArea]], [[setMarkerSize]], [[triggerArea]], [[markerSize]], [[inArea]], [[inAreaArray]], [[BIS_fnc_inTrigger]] |SEEALSO= | | [[createTrigger]], [[createMarker]], [[setTriggerArea]], [[setMarkerSize]], [[triggerArea]], [[markerSize]], [[inArea]], [[inAreaArray]], [[BIS_fnc_inTrigger]] |SEEALSO= |
Revision as of 23:11, 16 January 2021
Description
- Description:
- Extracts area information from trigger, marker, location or array
- Execution:
- call
- Groups:
- GeometryMap and Markers
Syntax
- Syntax:
- param call BIS_fnc_getArea
- Parameters:
- param:
Could be one of
- 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