BIS fnc markerPath: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| tkoh | | |game1= tkoh | ||
|version1= 1.00 | |||
| | |game2= arma3 | ||
|version2= 0.50 | |||
|gr1 = Map and Markers | |gr1= Map and Markers | ||
|eff= global | |eff= global | ||
| Create marker(s) between two points. | |descr= Create marker(s) between two points. | ||
| [start, end, spacing, params] call [[BIS_fnc_markerPath]] | |s1= [start, end, spacing, params] call [[BIS_fnc_markerPath]] | ||
|p1= start: [[Position]], [[Waypoint]], [[Object]], [[Location]] or [[String]]: | |p1= start: [[Position]], [[Waypoint]], [[Object]], [[Location]] or [[String]]: | ||
Line 21: | Line 20: | ||
* [[Object]] - object's position | * [[Object]] - object's position | ||
* [[Location]] - location's position | * [[Location]] - location's position | ||
* [[String]] - marker name | * [[String]] - marker name | ||
|p2= end: same as ''start'' | |p2= end: same as ''start'' | ||
|p3= spacing: [[Number]] - (Optional, default 1000) distance between markers. When value is negative, line marker is used instead with thickness of this value | |p3= spacing: [[Number]] - (Optional, default 1000) distance between markers. When value is negative, line marker is used instead with thickness of this value | ||
|p4= params: [[Array]] - (Optional, default ["BIS_fnc_markerPath_marker_''#''", "mil_triangle", "colorgreen"]) marker params (see [[BIS_fnc_markerCreate]] for details) | |p4= params: [[Array]] - (Optional, default ["BIS_fnc_markerPath_marker_''#''", "mil_triangle", "colorgreen"]) marker params (see [[BIS_fnc_markerCreate]] for details) | ||
| [[Array]] - list of created markers | |r1= [[Array]] - list of created markers | ||
|x1= < | |x1= <sqf>["markerStart", "markerEnd"] call BIS_fnc_markerPath;</sqf> | ||
|x2= < | |x2= <sqf>[player, nearestLocation [getPos player, "nameCity"]] call BIS_fnc_markerPath;</sqf> | ||
| [[createMarker]] | |seealso= [[createMarker]] [[BIS_fnc_markWaypoints]] | ||
}} | }} | ||
Latest revision as of 17:00, 13 July 2022
Description
- Description:
- Create marker(s) between two points.
- 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:
- Example 2:
Additional Information
- See also:
- createMarker BIS_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