Difference between revisions of "setMarkerPosLocal"
Jump to navigation
Jump to search
killzone_kid (talk | contribs) (z is stored but use is limited) |
killzone_kid (talk | contribs) m |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
− | | 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 | + | | 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. However [[getMarkerPos]] and [[markerPos]] will always return 0 for <tt>z</tt>. |= Description |
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:31, 20 August 2018

Click on the images for descriptions
Introduced in
- Game:
- Armed Assault
- Version:
- 1.04
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. However getMarkerPos and markerPos will always return 0 for z.
Syntax
- Syntax:
- markerName setMarkerPosLocal pos
- Parameters:
- markerName: String
- pos: Array - format Position2D or PositionAGL
- Return Value:
- Nothing
Examples
- Example 1:
"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo";
Additional Information
- Multiplayer:
- -
- See also:
- setMarkerAlphasetMarkerAlphaLocalsetMarkerBrushsetMarkerBrushLocalsetMarkerColorsetMarkerColorLocalsetMarkerDirsetMarkerDirLocalsetMarkerPossetMarkerShapesetMarkerShapeLocalsetMarkerSizesetMarkerSizeLocalsetMarkerTextsetMarkerTextLocalsetMarkerTypesetMarkerTypeLocal
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To