Difference between revisions of "GetTeleportCell - ObjectReference"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Scrivener07
(→‎Notes: Works only on elevator teleport doors.)
imported>Scrivener07
(Undo revision 9283 by Rasikko (talk) Must have been fixed in an update, recent test now has confirmed it works on other load 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 ==

Latest revision as of 12:05, 4 April 2018

Member of: ObjectReference Script

Gets the target cell for this teleport ref.

Syntax[edit | edit source]

Cell Function GetTeleportCell() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The target cell for this teleport ref.

Examples[edit | edit source]

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

Notes[edit | edit source]

See Also[edit | edit source]