GetWorldSpace - ObjectReference
Revision as of 17:01, 21 October 2011 by imported>Jlundin
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