BIS fnc markerPath: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2")
m (Text replacement - "<code><nowiki>[</nowiki>player," to "<code>[<nowiki/>player,")
Line 30: Line 30:
|x1= <code>["markerStart", "markerEnd"] [[call]] [[BIS_fnc_markerPath]];</code>
|x1= <code>["markerStart", "markerEnd"] [[call]] [[BIS_fnc_markerPath]];</code>


|x2= <code><nowiki>[</nowiki>[[player]], [[nearestLocation]] [<nowiki/>[[getPos]] [[player]], "nameCity"]] [[call]] [[BIS_fnc_markerPath]];</code>
|x2= <code>[<nowiki/>[[player]], [[nearestLocation]] [<nowiki/>[[getPos]] [[player]], "nameCity"]] [[call]] [[BIS_fnc_markerPath]];</code>


|seealso= [[createMarker]], [[BIS_fnc_markWaypoints]]
|seealso= [[createMarker]], [[BIS_fnc_markWaypoints]]

Revision as of 18:53, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
[start, end, spacing, params] call BIS_fnc_markerPath
Parameters:
start: Position, Waypoint, Object, Location or String:
end: same as start
spacing: Number - (Optional, default 1000) distance between markers. When value is negative, line marker is used instead with thickness of this value
params: Array - (Optional, default ["BIS_fnc_markerPath_marker_#", "mil_triangle", "colorgreen"]) marker params (see BIS_fnc_markerCreate for details)
Return Value:
Array - list of created markers

Examples

Example 1:
["markerStart", "markerEnd"] call BIS_fnc_markerPath;
Example 2:
[player, nearestLocation [getPos player, "nameCity"]] call BIS_fnc_markerPath;

Additional Information

See also:
createMarkerBIS_fnc_markWaypoints

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note