{"name":"BIS_fnc_getUnitByUID","operator":null,"title":"BIS fnc getUnitByUID","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_getUnitByUID","revid":327051,"updated":"2022-07-12T21:44:46Z","groups":["Multiplayer"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns player-controlled unit (if any) according to the provided player UID.","syntaxes":[{"syntax":"playerUID call BIS_fnc_getUnitByUID","since":null,"effect":null,"exec":null,"params":[{"name":"playerUID","type":"String","optional":false,"default":null,"description":"see getPlayerUID","types":["String"],"since":null,"text":"playerUID: String - see getPlayerUID"}],"returns":{"type":"Object","types":["Object"],"description":"the unit controlled by playerUID player","text":"Object - the unit controlled by *playerUID* player"}}],"examples":[{"text":"```sqf\nprivate _unitPlayedByUID550055 = \"550055\" call BIS_fnc_getUnitByUID;\n```","code":["private _unitPlayedByUID550055 = \"550055\" call BIS_fnc_getUnitByUID;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getPlayerUID"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Multiplayer","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}