{"name":"BIS_fnc_markerPath","operator":null,"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","replaced_by":[],"games":[{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"global","server_exec":false},"exec":null,"description":"Create marker(s) between two points.","syntaxes":[{"syntax":"[start, end, spacing, params] call BIS_fnc_markerPath","since":null,"effect":null,"exec":null,"params":[{"name":"start","type":"Position, Waypoint, Object, Location or String:","optional":false,"default":null,"description":"Position, Waypoint, Object, Location or String:\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","types":["Position","Waypoint","Object","Location","String"],"since":null,"text":"start: Position, Waypoint, Object, Location or String:\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","optional":false,"default":null,"description":null,"types":[],"since":null,"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","types":["Number"],"since":null,"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)","types":["Array"],"since":null,"text":"params: Array - (Optional, default [\"BIS_fnc_markerPath_marker_*#*\", \"mil_triangle\", \"colorgreen\"]) marker params (see BIS_fnc_markerCreate for details)"}],"returns":{"type":"Array","types":["Array"],"description":"list of created markers","text":"Array - list of created markers"}}],"examples":[{"text":"```sqf\n[\"markerStart\", \"markerEnd\"] call BIS_fnc_markerPath;\n```","code":["[\"markerStart\", \"markerEnd\"] call BIS_fnc_markerPath;"]},{"text":"```sqf\n[player, nearestLocation [getPos player, \"nameCity\"]] call BIS_fnc_markerPath;\n```","code":["[player, nearestLocation [getPos player, \"nameCity\"]] call BIS_fnc_markerPath;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["createMarker","BIS_fnc_markWaypoints"],"notes":[],"categories":["Arma 3: Functions","Function Group: Map and Markers","Functions","Functions: Global Effect","Introduced with Take On Helicopters version 1.00","Take On Helicopters: Functions","Take On Helicopters: New Functions"],"docblock":null,"filled_from_docblock":[]}