BIS fnc isPosBlacklisted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00|Game version= | |1.00|Game version= |
Revision as of 23:00, 30 August 2019
Description
- Description:
- Function checks a blacklist and sees if the given position is in it or not.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [position, blacklistArea] call BIS_fnc_isPosBlacklisted
- Parameters:
- position: Position
- blacklistArea:
- Array of Positions - array to format [topLeft, bottomRight]
- Object - a trigger. Check the trigger area (see inArea or BIS_fnc_inTrigger)
- Return Value:
- Boolean - is the position blacklisted or not
Examples
- Example 1:
[[50,50], [[0,0], [100,100]]] call BIS_fnc_isPosBlacklisted;
- Example 2:
[getPos player, myTrigger] call BIS_fnc_isPosBlacklisted;
Additional Information
- See also:
- BIS_fnc_inTriggerinAreadistance2D
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