Difference between revisions of "Osiris/API/GetSurfaceGroundOwnerAt"
From Divinity Engine Wiki
(Created page with "===== Full Definition(s) ===== * query '''GetSurfaceGroundOwnerAt'''('''''[in]'''(GUIDSTRING)'''''_Target''', '''''[out]'''(GUIDSTRING)'''''_OwnerCharacter''', '''''[out]'''(G...") |
m |
||
Line 19: | Line 19: | ||
* [[Osiris/API/GetSurfaceNameByTypeIndex|GetSurfaceNameByTypeIndex]] | * [[Osiris/API/GetSurfaceNameByTypeIndex|GetSurfaceNameByTypeIndex]] | ||
* [[Osiris/API/GetSurfaceSize|GetSurfaceSize]] | * [[Osiris/API/GetSurfaceSize|GetSurfaceSize]] | ||
+ | * [[Osiris/API/GetSurfaceTurns|GetSurfaceTurns]] | ||
* [[Osiris/API/GetSurfaceTypeIndex|GetSurfaceTypeIndex]] | * [[Osiris/API/GetSurfaceTypeIndex|GetSurfaceTypeIndex]] | ||
* [[Osiris/API/StopDrawSurfaceOnPath|StopDrawSurfaceOnPath]] | * [[Osiris/API/StopDrawSurfaceOnPath|StopDrawSurfaceOnPath]] |
Latest revision as of 21:46, 22 February 2018
Full Definition(s)
- query GetSurfaceGroundOwnerAt([in](GUIDSTRING)_Target, [out](GUIDSTRING)_OwnerCharacter, [out](GUIDSTRING)_OwnerItem)
Description
Returns the owner of the surface in the ground layer at the _Target location.
Return Values
- Success/Failure: Fails if the _Target is outside the AIgrid.
- _OwnerCharacter: The owner of the ground-layer surface at the _Target's position, if the surface has an owner who is a character. Null otherwise.
- _OwnerItem: The owner of the ground-layer surface at the _Target's position, if the surface has an owner who is an item. Null otherwise.
Notes
- /