GetWorldSpace - ObjectReference

From the CreationKit Wiki
Revision as of 17:01, 21 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Obtains the WorldSpace the object reference is in.

Syntax

WorldSpace Function GetWorldSpace() native

Parameters

None

Return Value

The WorldSpace the reference is currently in.

Examples

; Is our object in the super awesome worldspace?
if myObject.GetWorldSpace() == SuperAwesomeWorldSpace
  Debug.Trace("Object is in position, do something cool!")
endIf

See Also