BIS fnc markerPath: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| tkoh |= Game | | tkoh |Game name= | ||
|1.00|Game version= | |||
| | |eff= global |Effect in MP= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Creater marker(s) between two points. |Description= | ||
____________________________________________________________________________________________ | |||
| [start, end, spacing, params] call [[BIS_fnc_markerPath]] |Syntax= | |||
|p1= start: [[Position]], [[Waypoint]], [[Object]], [[Location]] or [[String]]: | |||
* [[Position]] - position [x,y] or [x,y,z] | |||
* [[Waypoint]] - format [group, index] | |||
* [[Object]] - object's position | |||
* [[Location]] - location's position | |||
* [[String]] - marker name |Parameter 1= | |||
|p2= end: same as ''start'' |Parameter 2= | |||
|p3= spacing: [[Number]] - (Optional, default 1000) distance between markers. When value is negative, line marker is used instead with thickness of this value |Parameter 3= | |||
| | |p4= params: [[Array]] - (Optional, default ["BIS_fnc_markerPath_marker_''#''", "mil_triangle", "colorgreen"]) marker params (see [[BIS_fnc_markerCreate]] for details) |Parameter4= | ||
| | | [[Array]] - list of created markers |= Return value | ||
____________________________________________________________________________________________ | |||
| |= | |x1= <code>["markerStart", "markerEnd"] [[call]] [[BIS_fnc_markerPath]];</code> |Example 1= | ||
| | |x2= <code><nowiki>[</nowiki>[[player]], [[nearestLocation]] <nowiki>[</nowiki>[[getPos]] [[player]], "nameCity"]] [[call]] [[BIS_fnc_markerPath]];</code> |Example 2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[createMarker]], [[BIS_fnc_markWaypoints]] |See also= | ||
}} | }} | ||
Revision as of 12:40, 29 May 2018
Description
- Description:
- Creater marker(s) between two points.
- Execution:
- call
- Groups:
- Uncategorised
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