Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetPlayerOwnerID
< Dota 2 Workshop Tools | Scripting | API
		
		
		
		Jump to navigation
		Jump to search
		 Note: This page is automatically generated.  Any changes may be overwritten
Note: This page is automatically generated.  Any changes may be overwrittenFunction Description
int GetPlayerOwnerID()
Get the owner player ID for this unit.
Returns
int - The owning players ID (0-9) If none is found than it will return -1