BIS fnc isPosBlacklisted: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=") |
||
Line 25: | Line 25: | ||
* [[Object]] - a trigger. Check the trigger area (see [[inArea]] or [[BIS_fnc_inTrigger]]) | * [[Object]] - a trigger. Check the trigger area (see [[inArea]] or [[BIS_fnc_inTrigger]]) | ||
| [[Boolean]] - is the position blacklisted or not | |r1= [[Boolean]] - is the position blacklisted or not | ||
|x1= <code><nowiki>[</nowiki>[50,50], [<nowiki/>[0,0], [100,100]]] [[call]] [[BIS_fnc_isPosBlacklisted]];</code> | |x1= <code><nowiki>[</nowiki>[50,50], [<nowiki/>[0,0], [100,100]]] [[call]] [[BIS_fnc_isPosBlacklisted]];</code> |
Revision as of 15:34, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Positions
Syntax
- Syntax:
- Syntax needed
- 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