GetMarkerIcon
Jump to navigation
Jump to search
This function returns the icon of a marker.
Syntax
int getMarkerType ( marker theMarker )
Required Arguments
- theMarker: A marker element referencing the specified marker.
Returns
Returns false if the marker passed is invalid or a string containing one of the following:
- 0: No icon
- 1: Arrow icon
- 2: Finish icon
Example
marker = createMarker ( 1000, 1000, 1000, "checkpoint", 255, 0, 0 ) icon = getMarkerIcon ( marker ) outputChatBox ( "marker's default icon is " .. icon )
See Also
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker