Osiris/API/GetSurfaceGroundOwnerAt

From Divinity Engine Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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
  • /
See Also