BIS fnc inAngleSector: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=") |
Tankbuster (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |SEEALSO= | | [[BIS_fnc_isInFrontOf]] |SEEALSO= | ||
}} | }} |
Revision as of 21:58, 3 June 2020
Description
- Description:
- Checks if a position lies within an angle sector.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [center, centerAngle, sectorWidth, position] call BIS_fnc_inAngleSector
- Parameters:
- center : Array - Center position
- centerAngle : Number - Defines the center angle of the sector
- sectorWidth: Number - Defines the width of the sector in degrees
- position: Array - The position which should be checked
- Return Value:
- Boolean: Returns true if the position lies within sector
Examples
Additional Information
- See also:
- BIS_fnc_isInFrontOf
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