Arma 3 Scripting

setMarkerPolylineLocal

  • Local effect
  • Arma 3 v2.02

Command · Markdown · JSON · original wiki page

Description

Sets a polyline marker's path. Works only on the computer that executes this command.

Syntax

marker setMarkerPolylineLocal path

Parameters:

Returns: Nothing

Examples

Example 1

Changes "marker_1" into a polyline and draws a sine curve on your position:

"marker_1" setMarkerShape "polyline";
private _return = [] ;

for "_i" from 0 to 100 step 0.1 do
{
    _return pushBack (_i + getPos player#0);
    _return pushBack ((sin (_i*10))*10 + getPos player#1);
} ;

"marker_1" setMarkerPolylineLocal _return;

See also

markerPolyline · setMarkerPolyline