Editors Depot - Mission Editing and Scripting > Arma2 - Editing/Scripting Multiplayer

New command getPlayerUID and _uid in OPC/OPD

(1/1)

Dwarden:
http://forums.bistudio.com/showpost.php?p=1319719&postcount=2


--- Quote ---there was unfortunately typo in the readme about "GetPlayerID"
so correct usage syntax is

 
--- Code: ---getPlayerUID unit;

--- End code ---

works only in multiplayer
when used on AI it returns empty string
when used on player it returns "UID" (equal to one you see in profile)

also there is more surprises available and related to this
 for OnPlayerConnected and OnPlayerDisconnected commands
is now returned third variable _uid which contains this "UID" too
--- End quote ---

Worldeater:
Thanks Dwarden!  :)

Navigation

[0] Message Index

Go to full version