Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC.GetPlayerOwnerID: Difference between revisions
< Dota 2 Workshop Tools | Scripting | API
Jump to navigation
Jump to search
RoyAwesome (talk | contribs) (Dota_Lebot push: Updated Page) |
|||
Line 15: | Line 15: | ||
== Returns == | == Returns == | ||
''int'' - | ''int'' - The owning players ID (0-9) If none is found than it will return -1 |
Revision as of 09:15, 17 August 2014

Function 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