SetMarkerTargetArrowProperties
Jump to navigation
Jump to search
Syntax
bool setMarkerTargetArrowProperties(element marker [, int r = 255, int g = 64, int b = 64, int a = 255, float size = markerSize * 0.625 ] )
Required Arguments
- theMarker: The marker that you wish to set the color of.
- r: The amount of red in the final color (0 to 255).
- g: The amount of green in the final color (0 to 255).
- b: The amount of blue in the final color (0 to 255).
- a: The amount of alpha in the final color (0 to 255).
- size: Target arrow size.
Example
local newMarker = createMarker ( 0, 0, 2, "checkpoint", 2, 255, 0, 0, 255 ) -- Create a red checkpoint marker setMarkerTarget(newMarker, 0, 10, 5) -- set target arrow direction setMarkerTargetArrowProperties(newMarker, 0, 255, 255, 255) -- Set target arrow color to light blue (aqua)
See Also
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker