Difference between revisions of "GetWorldSpace - ObjectReference"
Jump to navigation
Jump to search
imported>Jlundin |
imported>Terra Nova2 m (Works mainly on references in exterior cells.) |
||
Line 24: | Line 24: | ||
</source> | </source> | ||
== Notes == | |||
*This should be only used on objectrefereneces that are in exterior cells. Unless an 'interior' cell is part of a worldspace(such as the cells of Brinewater Grotto)it will return false. | |||
== See Also == | == See Also == | ||
*[[ObjectReference Script]] | *[[ObjectReference Script]] |
Revision as of 15:29, 4 March 2016
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
Notes
- This should be only used on objectrefereneces that are in exterior cells. Unless an 'interior' cell is part of a worldspace(such as the cells of Brinewater Grotto)it will return false.