{"name":"BIS_fnc_markerPath","title":"BIS fnc markerPath","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_markerPath","revid":328423,"updated":"2022-07-13T16:00:50Z","groups":["Map and Markers"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","locality":{"effect":"global"},"description":"Create marker(s) between two points.","syntaxes":[{"syntax":"[start, end, spacing, params] call BIS_fnc_markerPath","params":[{"name":"start","type":"Position, Waypoint, Object, Location or String:","description":"Position, Waypoint, Object, Location or String:\n\n- Position - position [x,y] or [x,y,z]\n- Waypoint - format [group, index]\n- Object - object's position\n- Location - location's position\n- String - marker name","type_expr":"Position | Waypoint | Object | Location | String","text":"start: Position, Waypoint, Object, Location or String:\n\n- Position - position [x,y] or [x,y,z]\n- Waypoint - format [group, index]\n- Object - object's position\n- Location - location's position\n- String - marker name"},{"name":"end","type":"same as start","text":"end: same as *start*"},{"name":"spacing","type":"Number","optional":true,"default":"1000","description":"distance between markers. When value is negative, line marker is used instead with thickness of this value","type_expr":"Number","text":"spacing: Number - (Optional, default 1000) distance between markers. When value is negative, line marker is used instead with thickness of this value"},{"name":"params","type":"Array","optional":true,"default":"[\"BIS_fnc_markerPath_marker_#\", \"mil_triangle\", \"colorgreen\"]","description":"marker params (see BIS_fnc_markerCreate for details)","type_expr":"Array","text":"params: Array - (Optional, default [\"BIS_fnc_markerPath_marker_*#*\", \"mil_triangle\", \"colorgreen\"]) marker params (see BIS_fnc_markerCreate for details)"}],"returns":{"type":"Array","type_expr":"Array","description":"list of created markers"}}],"examples":[{"code":["[\"markerStart\", \"markerEnd\"] call BIS_fnc_markerPath;"]},{"code":["[player, nearestLocation [getPos player, \"nameCity\"]] call BIS_fnc_markerPath;"]}],"see_also":["createMarker","BIS_fnc_markWaypoints"]}