BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 20: | Line 20: | ||
|r1= [[Array]] - in format [center, a, b, angle, isRectangle, height] | |r1= [[Array]] - in format [center, a, b, angle, isRectangle, height] | ||
|x1= <code>private _area = [player, 100] call | |x1= <code>private _area = [player, 100] call BIS_fnc_getArea;</code> | ||
|seealso= [[createTrigger]] [[createMarker]] [[setTriggerArea]] [[setMarkerSize]] [[triggerArea]] [[markerSize]] [[inArea]] [[inAreaArray]] [[BIS_fnc_inTrigger]] | |seealso= [[createTrigger]] [[createMarker]] [[setTriggerArea]] [[setMarkerSize]] [[triggerArea]] [[markerSize]] [[inArea]] [[inAreaArray]] [[BIS_fnc_inTrigger]] | ||
}} | }} |
Revision as of 16:56, 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:
private _area = [player, 100] call BIS_fnc_getArea;
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