Osiris/API/GetSurfaceGroundOwnerAt

From Divinity Engine Wiki
Revision as of 15:19, 20 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * query '''GetSurfaceGroundOwnerAt'''('''''[in]'''(GUIDSTRING)'''''_Target''', '''''[out]'''(GUIDSTRING)'''''_OwnerCharacter''', '''''[out]'''(G...")
(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