SetDoorTeleport

From GECK

A function added by the New Vegas Script Extender.

Description

Sets the reference, coordinates, and rotation to which the calling load door teleports. Only the reference argument is required; the values for the others will be taken from the specified reference's coordinates and rotation if omitted. Added by NVSE 4.6.3.

Syntax

(none) LoadDoorRef.SetDoorTeleport TargetDoor:reference X:float Y:float Z:float Rotation:float

Example

MagicDoorRef.SetDoorTeleport HallOfMirrorsDoorRef

Notes

  • Changes made using this function will not persist between game sessions, unlike the OBSE version of this function, in which this is optional. You can workaround this by recalling the function within a GetGameRestarted condition.

See Also

Personal tools