Map and Markers
55 functions. Also as Markdown for agents.
- BIS_fnc_blinkMarkerMakes given marker blink.
- BIS_fnc_cancelMarkerCancels a marker by a red 'X' marker. Also sets its variable to "Canceled" to true.
- BIS_fnc_changeColorMarkerMakes the marker go from its original color to a specified color over time
- BIS_fnc_colorMarkerChanges color of a marker with a little effect
- BIS_fnc_drawAODraws a dashed line around the outer edges of a trigger.
- BIS_fnc_drawArrowDraws a static arrow (outline or color filled) on map. See #Example 4 for arrow removal.
- BIS_fnc_drawMinefieldsDraw minefields on the map. Dynamically calculated from all mines positions. Distinguishes AP and AT minefields.
- BIS_fnc_getAreaExtracts area information from trigger, marker, location or array
- BIS_fnc_getBorderMarkersRetrieves marker names used in the border restrictions module.
- BIS_fnc_getMarkersReturns markers in format PREFIX_N where PREFIX_ is the provided argument and N is an integer between 1 and 128. If there are 128 markers but marker…
- BIS_fnc_getMarkerStateReturns the state of a marker.
- BIS_fnc_hideMarkerGradual hiding of a marker by setting its alpha to 0.
- BIS_fnc_hideMarkerArrayHides a list of markers one by one.
- BIS_fnc_isInZoomChecks if map zoom level is in between given interval.
- BIS_fnc_keypointsExport*N/A*
- BIS_fnc_keypointsExportFromKMLImports and marks positions from KLM file.
- BIS_fnc_KMLimportRead positions from a KML file.
- BIS_fnc_locationDescriptionReturn location description (e.g. "NE of Agia Marina")
- BIS_fnc_mapAnimAddSimilar to mapAnimAdd, yet it provides additional parameters to allow for a non-linear zoom and various position interpolation modes.
- BIS_fnc_mapAnimClearSame as mapAnimClear
- BIS_fnc_mapAnimDoneSame as mapAnimAdd but with possibility for non linear zoom and position interpolation modes
- BIS_fnc_mapGridSizeReturns the size of map grid square at current zoom level.
- BIS_fnc_mapSizeReturns map size from config. Do not confuse with worldSize. The engine command calculates the map size and doesn't read it from config.
- BIS_fnc_markerCreateCreates marker with given params. Reads config to recognize settings - use for quick debugging only.
- BIS_fnc_markerParamsReturns marker params in format compatible with BIS_fnc_markerCreate.
- BIS_fnc_markerPathCreate marker(s) between two points.
- BIS_fnc_markerToStringConverts existing marker to String, for example: `"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"`
- BIS_fnc_markerToTriggerMakes an existing or new marker cover a trigger area.
- BIS_fnc_markWaypointsCreates a marker on each uncompleted waypoint and marks it checked after completing that WP.
- BIS_fnc_moduleCoverMapCovers the map except for a defined area. This function was designed to be used by the Modules framework, but it can also be used without the module.…
- BIS_fnc_moveMarkerMoves marker to a new position
- BIS_fnc_nearestHelipadFinds the nearest helipad of given type.
- BIS_fnc_noFlyZone*N/A*
- BIS_fnc_noFlyZonesCreate*N/A*
- BIS_fnc_noFlyZonesExport*N/A*
- BIS_fnc_posDegToUTMGenerate a UTM Zone, Easting and Northing from lat and long fields. It uses NAD83 constants.
- BIS_fnc_posDegToWorldConvert latitude/longtitude coordinates into game world position.
- BIS_fnc_posUTMToDegGenerate Lat and Long fields from UTM Zone, Easting and Northing. It uses NAD83 constants.
- BIS_fnc_randomPosTriggerSelects random position within trigger, marker, location area or area defined by array
- BIS_fnc_resizeMarkerResize marker. Use either absolute values or proportional values.
- BIS_fnc_rotateMarkerRotating a marker to new azimuth, using shortest turn, clockwise or anticlockwise movement.
- BIS_fnc_shakeMap"Camera shake" function for the map. Shakes the map for a given amount of time with a given amount of force around the given camera center. Exits if…
- BIS_fnc_shakeMapEHEvent handler function for the shakeMap.sqf function
- BIS_fnc_showMarkerGradual revealing of a marker by setting its alpha to its original alpha or to a user-specified alpha.
- BIS_fnc_showMarkerArrayUnhide the markers sequentially.
- BIS_fnc_simpleMoveMarkerMove the provided marker to a new position. Simple version of BIS_fnc_moveMarker.
- BIS_fnc_stringToMarkerConverts serialized data from BIS_fnc_markerToString into a global map marker
- BIS_fnc_stringToMarkerLocalConverts serialized data from BIS_fnc_markerToString into a local map marker.
- BIS_fnc_textureMarkerChecks whether texture is defined in CfgMarkers and if so, returns the marker texture.
- BIS_fnc_triggerToMarkerMakes an existing or new trigger cover a marker area.
- BIS_fnc_worldAreaCreates (or returns if it already exists) trigger with size of map.
- BIS_fnc_zoomLockLocks the camera in place when the map is open.
- BIS_fnc_zoomLockEHEvent handler function for locking the camera.
- BIS_fnc_zoomOnAreaMap will zoom on the given area. Function always takes the longer side of the area to zoom on.
- BIS_fnc_zoomUnlockFunction that unlocks the camera in which has been previously locked with BIS_fnc_zoomLock.