Element/Marker
Jump to navigation
Jump to search
The marker class represents a colored 3-D shape in the GTA world. There are serveral types of markers, including cylinders and checkpoints. In scripts, markers are often used to trigger some sort of action when a player goes into them.
The element type of this class is "marker".
XML syntax
<marker id="" posX="" posY="" posZ="" type=""/>
Required Attributes
- posX: A float representing the X position of the pickup.
- posY: A float representing the Y position of the pickup.
- posZ: A float representing the Z position of the pickup.
Optional Attributes
- type: The visual type of the marker to be created. Possible values:
- "checkpoint": Checkpoint (Note: Currently z position is always ground-level. Only remains visible to a certain height.)
- "ring": Ring (doughnut-shaped)
- "cylinder": Cylinder (Note: Currently z position is always ground-level.)
- "arrow": Animated arrow pointing down
- "corona": A glowing area
- size?
- r?
- g?
- b?
- a?
Related scripting functions
- createMarker
- getMarkerColor
- getMarkerCount
- getMarkerIcon
- getMarkerSize
- getMarkerTarget
- getMarkerType
- setMarkerColor
- setMarkerIcon
- setMarkerSize
- setMarkerTarget
- setMarkerType
- isElementWithinMarker