BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.58 | |1.58 | ||
|gr1 = Geometry | |gr1 = Geometry | ||
|gr2 = Map and Markers | |gr2 = Map and Markers | ||
| Extracts area information from trigger, marker, location or array | | Extracts area information from trigger, marker, location or array | ||
| param call [[BIS_fnc_getArea]] | | param call [[BIS_fnc_getArea]] | ||
|p1= param:<blockquote>Could be one of | |p1= param:<blockquote>Could be one of | ||
Line 17: | Line 17: | ||
* [[String]] - marker | * [[String]] - marker | ||
* [[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] | | [[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> | ||
| [[createTrigger]], [[createMarker]], [[setTriggerArea]], [[setMarkerSize]], [[triggerArea]], [[markerSize]], [[inArea]], [[inAreaArray]], [[BIS_fnc_inTrigger]] | | [[createTrigger]], [[createMarker]], [[setTriggerArea]], [[setMarkerSize]], [[triggerArea]], [[markerSize]], [[inArea]], [[inAreaArray]], [[BIS_fnc_inTrigger]] | ||
}} | }} |
Revision as of 23:02, 17 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