BIS fnc isPosBlacklisted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2")
m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "")
Line 33: Line 33:
|seealso= [[BIS_fnc_inTrigger]], [[inArea]], [[distance2D]]
|seealso= [[BIS_fnc_inTrigger]], [[inArea]], [[distance2D]]
}}
}}
 
||||
[[Category:{{Name|arma2}}: Functions|{{uc:isPosBlacklisted}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:isPosBlacklisted}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:isPosBlacklisted}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:isPosBlacklisted}}]]

Revision as of 00:01, 17 June 2021

Hover & click on the images for description

Description

Description:
Function checks a blacklist and sees if the given position is in it or not.
Execution:
call
Groups:
Positions

Syntax

Syntax:
[position, blacklistArea] call BIS_fnc_isPosBlacklisted
Parameters:
position: Position
blacklistArea:
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

||||