BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
Killzone Kid (talk | contribs) (Created page with " {{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.58|= Game version _______________...") |
||
Line 5: | Line 5: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
|1. | |1.58|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Extracts area information from trigger, marker, location or array|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | param call [[BIS_fnc_getArea]] |= Syntax | ||
| |= Return value | |p1= param: [[Object]] - trigger, [[String]] - marker, [[Location]] - location or [[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] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_area = [_trigger, [[player]]] [[call]] [[BIS_fnc_getArea]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[createTrigger]], [[createMarker]], [[setTriggerArea]], [[setMarkerSize]], [[triggerArea]], [[markerSize]], [[inArea]], [[inAreaArray]], [[BIS_fnc_inTrigger]] |= See also | ||
}} | }} |
Revision as of 17:53, 22 March 2017
Description
- Description:
- Extracts area information from trigger, marker, location or array
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- param call BIS_fnc_getArea
- Parameters:
- param: Object - trigger, String - marker, Location - location or Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]
- Return Value:
- Array - in format [center, a, b, angle, isRectangle, height]
Examples
- Example 1:
_area = [_trigger, player] 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