Difference between revisions of "setMarkerPosLocal"
Jump to navigation
Jump to search
(Modified example code to use setMarkerPosLocal instead of setMarkerPos) |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
(19 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Command|= | + | {{Command|Comments= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | arma | | + | | arma |Game name= |
− | |1.04| | + | |1.04|Game version= |
− | |eff= local |= | + | |eff= local |Multiplayer Effects= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | Moves the marker. | + | | Moves the marker. If position is given in 3D format, <tt>z</tt> coordinate is stored with the marker and will be used when marker is passed to commands like [[createVehicle]], [[createUnit]], [[createAgent]], [[createMine]], [[setVehiclePosition]] for example. When [[Object]] is used for position, [[PositionWorld]] of the object is used. |DESCRIPTION= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | markerName '''setMarkerPosLocal''' pos |= | + | | markerName '''setMarkerPosLocal''' pos |SYNTAX= |
− | |p1= markerName: [[String]] |= | + | |p1= markerName: [[String]] |PARAMETER1= |
+ | |p2= pos: [[Array]] - format [[Position2D]], [[PositionAGL]] or [[Object]] (since Arma 3 v1.93.145584) |PARAMETER2= | ||
− | |||
− | | [[Nothing]] |= | + | | [[Nothing]] |RETURNVALUE= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | |x1= <code>"MarkerOne" '''setMarkerPosLocal''' [[getMarkerPos]] "MarkerTwo"</code> |= | + | |x1= <code>"MarkerOne" '''setMarkerPosLocal''' [[getMarkerPos]] "MarkerTwo";</code> |EXAMPLE1= |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | | + | |[[setMarkerPos]], [[setMarkerAlphaLocal]], [[setMarkerBrushLocal]], [[setMarkerColorLocal]], [[setMarkerDirLocal]], [[setMarkerShapeLocal]], [[setMarkerSizeLocal]], [[setMarkerTextLocal]], [[setMarkerTypeLocal]]|SEEALSO= |
}} | }} | ||
Line 39: | Line 39: | ||
[[Category:Scripting Commands ArmA|SETMARKERPOSLOCAL]] | [[Category:Scripting Commands ArmA|SETMARKERPOSLOCAL]] | ||
[[Category:Command Group: Markers|SETMARKERPOSLOCAL]] | [[Category:Command Group: Markers|SETMARKERPOSLOCAL]] | ||
+ | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
+ | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
+ | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 19:53, 1 September 2019
Hover & click on the images for descriptions
Description
- Description:
- Moves the marker. If position is given in 3D format, z coordinate is stored with the marker and will be used when marker is passed to commands like createVehicle, createUnit, createAgent, createMine, setVehiclePosition for example. When Object is used for position, PositionWorld of the object is used.
Syntax
- Syntax:
- markerName setMarkerPosLocal pos
- Parameters:
- markerName: String
- pos: Array - format Position2D, PositionAGL or Object (since Arma 3 v1.93.145584)
- Return Value:
- Nothing
Examples
- Example 1:
-
"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo";
Additional Information
- See also:
- setMarkerPossetMarkerAlphaLocalsetMarkerBrushLocalsetMarkerColorLocalsetMarkerDirLocalsetMarkerShapeLocalsetMarkerSizeLocalsetMarkerTextLocalsetMarkerTypeLocal
- Groups:
- Uncategorised
Notes
Notes
Bottom Section
Categories:
- Scripting Commands
- Arma: Scripting Commands
- Arma: New Scripting Commands
- Command Group: Uncategorised
- Pages with broken file links
- Introduced with Arma version 1.04
- Commands with local effects
- Scripting Commands ArmA
- Command Group: Markers
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters