GetMarkerType: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
==See Also== | ==See Also== | ||
{{Marker}} | {{Marker functions}} | ||
Revision as of 20:07, 20 May 2006
Description
This function returns an ID number that corresponds to a particular type of marker.
Syntax
int getMarkerType ( marker marker)
Required Arguments
- marker: A marker class referencing the specified marker.
Return Values
- "checkpoint": Checkpoint
- "ring": Ring (doughnut-shaped)
- "cylinder": Cylinder
- "arrow": Animated arrow pointing down
Example
marker = createMarker ( 1000, 1000,1000, 0, 255, 0, 0 )
gettype = getMarkerType (marker)
if (gettype == 0)
outputChatBox ("Checkpoint marker.")
else
outputChatBox ("Corona marker.")
end
See Also
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker