BIS fnc ambientBlacklist: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|game1= tkoh \|version1= 1\.([0-9]{2}) " to "|game1= tkoh |version1= 1.$1 |game2= arma3 |version2= 0.50 ") |
||
Line 3: | Line 3: | ||
|game1= tkoh | |game1= tkoh | ||
|version1= 1.00 | |version1= 1.00 | ||
|game2= arma3 | |||
|version2= 0.50 | |||
|gr1= Ambient | |gr1= Ambient |
Revision as of 22:09, 16 June 2021
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