BIS fnc isPosBlacklisted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= Positions
|gr1= Positions


| Function checks a blacklist and sees if the given position is in it or not.
|descr= Function checks a blacklist and sees if the given position is in it or not.


|s1=[position, blacklistArea] call [[BIS_fnc_isPosBlacklisted]]
|s1=[position, blacklistArea] call [[BIS_fnc_isPosBlacklisted]]

Revision as of 21:49, 13 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