Difference between revisions of "GetTeleportCell - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Iceburg333
 
imported>Scrivener07
(→‎Notes: Works only on elevator teleport doors.)
Line 23: Line 23:


== Notes ==
== Notes ==
* This appears to be programmed to work only on elevator teleport doors. When called on other types of teleport doors, the function returns none.


== See Also ==
== See Also ==

Revision as of 06:00, 27 December 2017

Member of: ObjectReference Script

Gets the target cell for this teleport ref.

Syntax

Cell Function GetTeleportCell() native

Parameters

None.

Return Value

The target cell for this teleport ref.

Examples

;check to see if our target cell is loaded
bool bloaded = ElevatorRef.GetTeleportCell().IsLoaded()

Notes

  • This appears to be programmed to work only on elevator teleport doors. When called on other types of teleport doors, the function returns none.

See Also