Osiris/API/GetSurfaceGroundOwnerAt

From Divinity Engine Wiki
Jump to: navigation, search
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