GetTeleportCell - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 06:00, 27 December 2017 by imported>Scrivener07 (→‎Notes: Works only on elevator teleport doors.)
Jump to navigation Jump to search

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