setMarkerPolyline: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Waffle SS. (talk | contribs) (add createMarker for those who want a quicker example) |
||
Line 25: | Line 25: | ||
|x1= Changes {{hl|"marker_1"}} into a polyline and draws a sine curve on [[player]]'s position: | |x1= Changes {{hl|"marker_1"}} into a polyline and draws a sine curve on [[player]]'s position: | ||
<sqf> | <sqf> | ||
// createMarker ["marker_1", [0,0,0]]; | |||
"marker_1" setMarkerShape "polyline"; | "marker_1" setMarkerShape "polyline"; | ||
private _return = [] ; | private _return = [] ; |
Revision as of 02:55, 1 August 2022
Description
- Description:
- Sets a polyline marker's path.
- Groups:
- Markers
Syntax
- Syntax:
- marker setMarkerPolyline path
- Parameters:
- marker: String
- path: Array - [x1, y1, x2, y2, ... xn, yn]
- Return Value:
- Nothing
Examples
- Example 1:
- Changes "marker_1" into a polyline and draws a sine curve on player's position:
Additional Information
- See also:
- markerPolyline setMarkerPolylineLocal
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