BIS fnc ambientBlacklist: Difference between revisions
Jump to navigation
Jump to search
m (added version number to "Function broken" note, needs to be removed once fix goes to stable) |
m (added version number to "Function broken" note, needs to be removed once fix goes to stable, fixed typo) |
||
Line 11: | Line 11: | ||
<!--|eff= local--> | <!--|eff= local--> | ||
|descr= Check if area is blacklisted. Blacklist triggers are to be named 'bis_ambientBlacklist_#', where # is number from 0 to 99. {{Feature arma3|Function is broken, but was fixed in {{ | |descr= Check if area is blacklisted. Blacklist triggers are to be named 'bis_ambientBlacklist_#', where # is number from 0 to 99. {{Feature arma3|Function is broken, but was fixed in {{GVI|arma3|1.97}}}} | ||
Line 19: | Line 19: | ||
|r1= [[Boolean]] - Returns [[Boolean]] when in blacklisted area, when initialization was | |r1= [[Boolean]] - Returns [[Boolean]] when in blacklisted area, when initialization was triggered, it returns [[nil]] | ||
|x1= <code>[1337,1337,0] [[call]] [[BIS_fnc_ambientBlacklist]];</code> | |x1= <code>[1337,1337,0] [[call]] [[BIS_fnc_ambientBlacklist]];</code> |
Revision as of 20:35, 15 January 2020
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:
- Uncategorised
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