Arma 3 Scripting

Function in Multiplayer

BIS_fnc_getUnitByUID

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns player-controlled unit (if any) according to the provided player UID.

Syntax

playerUID call BIS_fnc_getUnitByUID

Parameters:

Returns: Object - the unit controlled by playerUID player

Examples

Example 1

private _unitPlayedByUID550055 = "550055" call BIS_fnc_getUnitByUID;

See also

getPlayerUID