Element/Marker: Difference between revisions
Jump to navigation
Jump to search
m (→XML syntax) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
The marker class represents | The marker class represents colored, 3-D entities 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"'''. | The element type of this class is '''"marker"'''. |
Revision as of 05:34, 9 December 2006
The marker class represents colored, 3-D entities 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