BIS fnc getArea: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with " {{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.58|= Game version _______________...") |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 13: | Line 13: | ||
| param call [[BIS_fnc_getArea]] |= Syntax | | param call [[BIS_fnc_getArea]] |= Syntax | ||
|p1= param: [[Object]] - trigger | |p1= param:<blockquote>Could be one of | ||
* [[Object]] - trigger | |||
* [[String]] - marker | |||
* [[Location]] - location | |||
* [[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] |= Return value | | [[Array]] - in format [center, a, b, angle, isRectangle, height] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_area = [ | |x1= <code>_area = <nowiki>[</nowiki>[[player]], 100] [[call]] [[BIS_fnc_getArea]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:06, 4 May 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:
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