getPlayerUID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:
|  |= SEEALSO  
|  |= SEEALSO  


|mp= Returns emtpy string when used in singleplayer.  |= MPBEHAVIOUR  
|mp= UID string is returned only in multiplayer.  |= MPBEHAVIOUR  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 22:17, 23 June 2009

Hover & click on the images for description

Description

Description:
Return an uniqueID of the given unit as string if it's player and empty value if it's AI.
Multiplayer:
UID string is returned only in multiplayer.
Groups:
Uncategorised

Syntax

Syntax:
getPlayerUID unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
_uid = getPlayerUID vehicle player;

Additional Information

See also:
See also needed

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