{"name":"setMarkerPosLocal","operator":null,"title":"setMarkerPosLocal","type":"command","url":"https://community.bistudio.com/wiki/setMarkerPosLocal","revid":377550,"updated":"2026-01-02T06:54:46Z","groups":["Markers"],"status":"ok","replaced_by":[],"games":[{"game":"arma1","name":"Armed Assault","version":"1.04"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma1","name":"Armed Assault","version":"1.04"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"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. In case of an object, the object's model [0,0,0] is used.","syntaxes":[{"syntax":"markerName setMarkerPosLocal position","since":null,"effect":null,"exec":null,"params":[{"name":"markerName","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"markerName: String"},{"name":"position","type":null,"optional":false,"default":null,"description":"Position2D, PositionAGL or Arma 3 v1.94 Object. In case of an object, the object's model [0,0,0] is used.","types":["Position2D","PositionAGL","Object"],"since":null,"text":"position: Position2D, PositionAGL or Arma 3 v1.94 Object. In case of an object, the object's model [0,0,0] is used."}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"markerName","types":["String"]},"right":{"text":"position","types":["Position2D","PositionAGL","Object"]}}],"examples":[{"text":"```sqf\n\"MarkerOne\" setMarkerPosLocal getMarkerPos \"MarkerTwo\";\n```","code":["\"MarkerOne\" setMarkerPosLocal getMarkerPos \"MarkerTwo\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setMarkerPos","setMarkerAlphaLocal","setMarkerBrushLocal","setMarkerColorLocal","setMarkerDirLocal","setMarkerShapeLocal","setMarkerSizeLocal","setMarkerTextLocal","setMarkerTypeLocal"],"notes":[],"categories":["ArmA: Armed Assault: New Scripting Commands","ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Markers","Introduced with Armed Assault version 1.04","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}