setMarkerPos: Difference between revisions
Jump to navigation
Jump to search
m (setMarkerPos takes 3D Position) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Moves the marker. |= Description | | 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]] for example. However [[getMarkerPos]] and [[markerPos]] will always return 0 for <tt>z</tt>. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:14, 20 August 2018
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 for example. However getMarkerPos and markerPos will always return 0 for z.
- Groups:
- Uncategorised
Syntax
- Syntax:
- markerName setMarkerPos pos
- Parameters:
- markerName: String
- pos: Array - format Position2D or PositionAGL
- Return Value:
- Nothing
Examples
- Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"
Additional Information
- See also:
- setMarkerBrushsetMarkerColorsetMarkerDircreateMarkersetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypesetMarkerAlpha
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Pulverizer
- Effect is local in OFP.
- Posted on March 31, 2008 - 22:25 (CEST)
- Doolittle
- This command will not move a marker on dedicated server (if a client calls it). AI will continue to respawn at old spot if you are moving something like respawn_west.
- Posted on August 7, 2009 - 02:03 (CEST)
- Dr Eyeball
- The marker position can actually be set in 3D. This has a benefit for respawn markers, when placed at the correct altitude ASL on the LHD, the correct altitude will be used for respawn. There is no particular benefit for regular markers since markerPos will still return 0 for the altitude array element.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Markers
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters