Positions
16 functions. Also as Markdown for agents.
- BIS_fnc_ambientBlacklistCheck if area is blacklisted. Blacklist triggers are to be named 'bis_ambientBlacklist_#', where # is number from 0 to 99.
- BIS_fnc_ambientBlacklistAddAdd a new ambient blacklist trigger
- BIS_fnc_buildingPositionsGet all available positions within a building or structure.
- BIS_fnc_findOverwatchSelects a position that provides overwatch onto another position.
- BIS_fnc_findSafePosThis function generates position on a map according to several given parameters (see diagram).
- BIS_fnc_gridToPosConverts grid coordinates to world position.
- BIS_fnc_isPosBlacklistedFunction checks a blacklist and sees if the given position is in it or not.
- BIS_fnc_locationDescriptionReturn location description (e.g. "NE of Agia Marina")
- BIS_fnc_nearestPositionFunction to find the nearest Object or position from a list, when compared to a given reference.
- BIS_fnc_nearestRoadFind the nearest road segment to certain position, within given radius.
- BIS_fnc_positionReturns PositionAGL, unless passed argument is Array, then the same array is returned.
- BIS_fnc_posToGridConverts array position to map grid position.
- BIS_fnc_randomPosSelects random position according to given params within given area
- BIS_fnc_randomPosIntersectionReturns random 2D position inside the intersection of two circles. [-1,-1] is returned if the circles do not intersect.
- BIS_fnc_relPosReturns a position that is a specified distance and compass direction from the passed position or object.
- BIS_fnc_relPosObjectPlace an object relative to another object, like a *setRelPos* command.