|Description:||Finds out if a vehicle or position is visible from the given position. It checks the visibility of the center and the eight boundingBox corners, and can take exceptions into account. For positions, the rate argument is obsolete, as those are either visible or not.|
|Syntax:||[array, check, rate, except] call fn_vbs_isVisible|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Functions A-Z.
_isVisible = [position player, target,.2, [player]] call fn_vbs_isVisible
|See also:||fn vbs getVisibility, getVisibility, collisionDetection|