getPlayerUID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(getPlayerUID created)
 
mNo edit summary
Line 4: Line 4:
| arma2 |= Game name
| arma2 |= Game name


|1.00|= Game version
|1.02|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Get unique player id. |= Description
| Return an uniqueID of the given unit as string if it's player and empty value if it's AI. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1
|x1= <code>_uid <nowiki>=</nowiki> '''getPlayerUID''' [[vehicle]] [[player]];</code> |= Example 1


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 22:03, 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.
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