BIS fnc isPosBlacklisted: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [position, blacklistArea] call [[BIS_fnc_isPosBlacklisted]] |= Syntax
| [position, blacklistArea] call [[BIS_fnc_isPosBlacklisted]] |SYNTAX=


|p1= position: [[Position]] |= Parameter 1
|p1= position: [[Position]] |= Parameter 1
Line 18: Line 18:
* [[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 |= Return value
| [[Boolean]] - is the position blacklisted or not |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS_fnc_inTrigger]], [[inArea]], [[distance2D]] |= See also
| [[BIS_fnc_inTrigger]], [[inArea]], [[distance2D]] |SEEALSO=
}}
}}



Revision as of 12:29, 7 April 2019

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:
Uncategorised

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

Notes

Bottom Section