{"name":"BIS_fnc_spotter","operator":null,"title":"BIS fnc spotter","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_spotter","revid":341832,"updated":"2023-06-28T09:26:11Z","groups":["Object Manipulation","Combat"],"status":"ok","replaced_by":[],"games":[{"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":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":"spawn","description":"Make spotter report target distance to sniper. Will only stop if one of the two units dies.","syntaxes":[{"syntax":"[sniper, spotter] spawn BIS_fnc_spotter","since":null,"effect":null,"exec":null,"params":[{"name":"sniper","type":"Object","optional":false,"default":null,"description":"sniper unit","types":["Object"],"since":null,"text":"sniper: Object - sniper unit"},{"name":"spotter","type":"Object","optional":false,"default":null,"description":"spotter unit","types":["Object"],"since":null,"text":"spotter: Object - spotter unit"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[player, spotter] spawn BIS_fnc_spotter;\n```","code":["[player, spotter] spawn BIS_fnc_spotter;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 2: Operation Arrowhead: Functions","Arma 2: Operation Arrowhead: New Functions","Arma 3: Functions","Function Group: Combat","Function Group: Object Manipulation","Functions","Introduced with Arma 2: Operation Arrowhead version 1.50","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}