RU/Marker: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Automatically fixing double redirect from RU/Элемент/Маркер to Category:Маркер in a maintenance job)
Tag: Redirect target changed
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__Маркер__
#REDIRECT [[Category:Маркер]]
The marker class represents colored, 3D shapes in the GTA world. There are serveral types of markers, including cylinders and checkpoints. In scripts, markers are often used to mark spots and trigger some sort of action when a player goes into them.
 
The element type of this class is '''"marker"'''.
 
The size of the marker cannot be specified from XML and defaults to 4.0.
 
==XML syntax==
<syntaxhighlight lang="xml">
<marker posX="" posY="" posZ="" type="" .../>
</syntaxhighlight>
 
===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:
{{Marker types}}
* '''color:''' The color of the marker in HTML style format #RRGGBB, defaults to red if not specified.
 
==Related scripting functions==
{{Marker functions}}
[[Category:Element Types]]
 
[[it:Elemento/Marker]]

Latest revision as of 11:24, 27 August 2022