setMarkerPolyline: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Feature|Informative|" to "{{Feature|informative|") |
BrettMayson (talk | contribs) mNo edit summary |
||
Line 15: | Line 15: | ||
|p1= marker: [[String]] | |p1= marker: [[String]] | ||
|p2= path: [[Array]] - {{hl|[x1, y1, x2, y2, ... xn, yn]}} | |p2= path: [[Array]] of pairs [[Number]], [[Number]] - {{hl|[x1, y1, x2, y2, ... xn, yn]}} | ||
{{Feature|important| | {{Feature|important| | ||
Be aware that this command expects an array with a minimum array size of 4 and that the array count always needs to be dividable by 2 and return a whole number. Code: | Be aware that this command expects an array with a minimum array size of 4 and that the array count always needs to be dividable by 2 and return a whole number. Code: |
Revision as of 14:05, 15 June 2024
Description
- Description:
- Sets a polyline marker's path.
- Groups:
- Markers
Syntax
- Syntax:
- marker setMarkerPolyline path
- Parameters:
- marker: String
- path: Array of pairs Number, Number - [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