BIS fnc getUnitByUID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns object belonging to given player UID |= Description
| Returns object belonging to given player UID |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| playerUID call [[BIS_fnc_getUnitByUid]] |= Syntax
| playerUID call [[BIS_fnc_getUnitByUid]] |SYNTAX=


|p1= playerUID: [[String]] - see [[getPlayerUID]] |= Parameter 1
|p1= playerUID: [[String]] - see [[getPlayerUID]] |= Parameter 1


| [[Object]] - the unit controlled by ''playerUID'' player |= Return value
| [[Object]] - the unit controlled by ''playerUID'' player |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[getPlayerUID]] |= See also
| [[getPlayerUID]] |SEEALSO=
}}
}}



Revision as of 12:28, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns object belonging to given player UID
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
playerUID call BIS_fnc_getUnitByUid
Parameters:
playerUID: String - see getPlayerUID
Return Value:
Object - the unit controlled by playerUID player

Examples

Example 1:
_unitPlayedByUID550055 = "550055" call BIS_fnc_getUnitByUid;

Additional Information

See also:
getPlayerUID

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section