{"name":"doWatch","title":"doWatch","type":"command","url":"https://community.bistudio.com/wiki/doWatch","revid":379337,"updated":"2026-10-30T23:53:06Z","groups":["Unit Control"],"status":"ok","games":{"ofp":"1.00","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.00","arma3_since":"0.50","locality":{"argument":"local","effect":"global"},"description":"Order the given unit(s) to watch the given position or target (without radio messages). Use objNull as the target to order a unit to stop watching a position/target.","syntaxes":[{"syntax":"unit(s) doWatch position","params":[{"name":"unit(s)","type":"Object or Array of Objects","type_expr":"Object | Array<Object>"},{"name":"position","type":"Position","type_expr":"Position"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit(s)"},"right":{"text":"position"}},{"syntax":"unit(s) doWatch target","params":[{"name":"unit(s)","type":"Object or Array of Objects","type_expr":"Object | Array<Object>"},{"name":"target","type":"Object","type_expr":"Object"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit(s)"},"right":{"text":"target"}}],"examples":[{"text":"```sqf\n_soldierOne doWatch markerPos \"MarkerMoveOne\";\n```\n\nThe unit named \"soldierOne\" will watch the position where the marker \"MarkerMoveOne\" is placed.","code":["_soldierOne doWatch markerPos \"MarkerMoveOne\";"]},{"text":"```sqf\n_soldierOne doWatch _eastSoldier;\n```\n\nThe unit named \"soldierOne\" will watch the unit named \"eastSoldier\".","code":["_soldierOne doWatch _eastSoldier;"]}],"see_also":["commandWatch","lookAt","glanceAt"],"notes":[{"user":"Waffle SS.","date":"2015-04-18T07:50:00Z","text":"Also controls where a vehicle gunner aims."}]}