Osiris/API/GetSurfaceGroundOwnerAt

From Divinity Engine Wiki
Revision as of 21:46, 22 February 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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