BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.58 | |||
| | |gr1= Geometry | ||
| | |gr2= Map and Markers | ||
| | |descr= Extracts area information from trigger, marker, location or array | ||
| | |s1= param call [[BIS_fnc_getArea]] | ||
|p1= param: | |||
|p1= param: | |||
* [[Object]] - trigger | * [[Object]] - trigger | ||
* [[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]] | * [[Array]] - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]] | ||
| [[Array]] - in format [center, a, b, angle, isRectangle, height] | |||
|r1= [[Array]] - in format [center, a, b, angle, isRectangle, height] | |||
|x1= < | |x1= <sqf>private _area = [player, 100] call BIS_fnc_getArea;</sqf> | ||
| [[createTrigger]] | |seealso= [[createTrigger]] [[createMarker]] [[setTriggerArea]] [[setMarkerSize]] [[triggerArea]] [[markerSize]] [[inArea]] [[inAreaArray]] [[BIS_fnc_inTrigger]] | ||
}} | }} |
Latest revision as of 17:00, 13 July 2022
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:
- Return Value:
- Array - in format [center, a, b, angle, isRectangle, height]
Examples
- Example 1:
Additional Information
- See also:
- createTrigger createMarker setTriggerArea setMarkerSize triggerArea markerSize inArea inAreaArray BIS_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