setMarkerPos

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Operation Flashpoint version 1.00
  Effects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Moves the marker. Pos format is Position2D.

Syntax

Syntax:
markerName setMarkerPos pos
Parameters:
markerName: String
pos: Array - format Position2D
Return Value:
Nothing

Examples

Example 1:
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"

Additional Information

Multiplayer:
-
See also:
setMarkerBrushsetMarkerColorsetMarkerDircreateMarkersetMarkerShapesetMarkerSizesetMarkerTextsetMarkerTypesetMarkerAlpha

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

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