- Documentation
- Server functions
- setMarkerIcon
Function
setMarkerIcon
Sets the icon of a ring or checkpoint: "none", "arrow" (arrow to the next point) or "finish" (finish flag).
Syntax
bool setMarkerIcon(marker theMarker, string icon)Arguments
theMarkermarker- The marker.
iconstring"none","arrow"or"finish".
Returns
true on success.
Example
local finish = createMarker(0, 0, 3, "ring", 6)
setMarkerIcon(finish, "finish")
Notes
State for scripts. The game does not draw marker icons yet.