{"name":"setSimpleTaskTarget","operator":null,"title":"setSimpleTaskTarget","type":"command","url":"https://community.bistudio.com/wiki/setSimpleTaskTarget","revid":376222,"updated":"2025-09-20T13:11:55Z","groups":["Briefing"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.55"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.55"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Attach a target to the simple task.\nOverrides setSimpleTaskDestination.","syntaxes":[{"syntax":"task setSimpleTaskTarget [target, precisePosition]","since":null,"effect":null,"exec":null,"params":[{"name":"task","type":"Task","optional":false,"default":null,"description":null,"types":["Task"],"since":null,"text":"task: Task"},{"name":"target","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"target: Object"},{"name":"precisePosition","type":"Boolean","optional":false,"default":null,"description":"use exact position of the target for map marker / HUD indicator instead of the position known to the task's owner (depending on the unit's knowledge of the target)","types":["Boolean"],"since":null,"text":"precisePosition: Boolean - use exact position of the target for map marker / HUD indicator instead of the position known to the task's owner (depending on the unit's knowledge of the target)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"task","types":["Task"]},"right":{"text":"[target, precisePosition]","types":["Array"]}}],"examples":[{"text":"```sqf\n_task setSimpleTaskTarget [targetVehicle, true];\n```","code":["_task setSimpleTaskTarget [targetVehicle, true];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["briefing","createSimpleTask","setSimpleTaskDestination"],"notes":[],"categories":["Arma 2: Operation Arrowhead: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: Scripting Commands","Command Group: Briefing","Introduced with Arma 2: Operation Arrowhead version 1.55","Scripting Commands","Take On Helicopters: Scripting Commands"]}