BIS fnc ambientBlacklist: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 36: Line 36:




<h3 style="display:none">Bottom Section</h3>
 
[[Category:Functions|{{uc:ambientBlacklist}}]]
[[Category:Functions|{{uc:ambientBlacklist}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:ambientBlacklist}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:ambientBlacklist}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientBlacklist}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ambientBlacklist}}]]

Revision as of 01:46, 18 January 2021

Hover & click on the images for description

Description

Description:
Check if area is blacklisted. Blacklist triggers are to be named 'bis_ambientBlacklist_#', where # is number from 0 to 99.
Execution:
call
Groups:
AmbientPositions

Syntax

Syntax:
[input] call BIS_fnc_ambientBlacklist
Parameters:
input: Array - If array, function checks if givin position is in blacklisted areas. If any Number is passed to the function instead of an Array blacklisted areas are initialized and saved in BIS_ambientBlacklist
Return Value:
Boolean - Returns Boolean when in blacklisted area, when initialization was triggered, it returns nil

Examples

Example 1:
[1337,1337,0] call BIS_fnc_ambientBlacklist;
Example 2:
[0] call BIS_fnc_ambientBlacklist;

Additional Information

See also:
BIS_fnc_ambientBlacklistAdd

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