SetMarkerType: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
bool setMarkerType ( | <syntaxhighlight lang="lua">bool setMarkerType ( marker marker, int type)</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
Line 17: | Line 17: | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua">marker = createMarker ( 1000, 1000,1000, 0, 255, 0, 0 ) | |||
setMarkerType ( marker, 1)</syntaxhighlight> | |||
Revision as of 03:39, 20 May 2006
Description
This function sets an ID number that corresponds to a particular visual style of marker.
Syntax
bool setMarkerType ( marker marker, int type)
Required Arguments
- marker: A marker class referencing the specified marker.
- type: An integer (whole number) referring to the type of marker (see below).
Acceptable type values
- "checkpoint": Checkpoint
- "ring": Ring (doughnut-shaped)
- "cylinder": Cylinder
- "arrow": Animated arrow pointing down
Example
marker = createMarker ( 1000, 1000,1000, 0, 255, 0, 0 ) setMarkerType ( marker, 1)