About: GetDistanceToObject   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

function GetDistanceToObject (object oObject) Get the distance from the caller to oObject in metres. * Return value on error: 1.0f * Return type: float * Include file: nwscriptdefn

AttributesValues
rdfs:label
  • GetDistanceToObject
rdfs:comment
  • function GetDistanceToObject (object oObject) Get the distance from the caller to oObject in metres. * Return value on error: 1.0f * Return type: float * Include file: nwscriptdefn
  • The GetDistanceToObject() NWScript command returns the distance (in meters) from the caller (OBJECT_SELF) to the provided object. This will return -1.0 if the distance cannot be determined for some reason, such as when the object is in a different area than the caller, the object is invalid, or either the object or the caller does not have a location (e.g. an area). The distance takes into account differences in the z-coordinate.
dcterms:subject
dbkwik:nwn2/proper...iPageUsesTemplate
returns
Name
  • GetDistanceToObject
param
  • object oObject
param1desc
  • The object whose distance from the caller will be determined.
dbkwik:nwn/property/wikiPageUsesTemplate
abstract
  • function GetDistanceToObject (object oObject) Get the distance from the caller to oObject in metres. * Return value on error: 1.0f * Return type: float * Include file: nwscriptdefn
  • The GetDistanceToObject() NWScript command returns the distance (in meters) from the caller (OBJECT_SELF) to the provided object. This will return -1.0 if the distance cannot be determined for some reason, such as when the object is in a different area than the caller, the object is invalid, or either the object or the caller does not have a location (e.g. an area). The distance takes into account differences in the z-coordinate.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software