Difference between revisions of "getPlayerUID"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 27: Line 27:
 
|  |= SEEALSO  
 
|  |= SEEALSO  
  
|  |= MPBEHAVIOUR  
+
|mp= Returns emtpy string when used in singleplayer. |= MPBEHAVIOUR  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Revision as of 21:13, 23 June 2009

Introduced with Arma 2 version 1.021.02
Hover & click on the images for descriptions

Description

Description:
Return an uniqueID of the given unit as string if it's player and empty value if it's AI.
Multiplayer:
Returns emtpy string when used in singleplayer.

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

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section