BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <nowiki>[</nowiki>" to " [<nowiki/>") |
mNo edit summary |
||
Line 16: | Line 16: | ||
* [[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>|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> |= | |x1= <code>_area = [<nowiki/>[[player]], 100] [[call]] [[BIS_fnc_getArea]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 08:20, 25 September 2020
Description
- Description:
- Extracts area information from trigger, marker, location or array
- Execution:
- call
- Groups:
- Uncategorised
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