GetDoorTeleportX/Y/Z/Rot

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

These 4 similar functions return the X/Y/Z coordinate or rotation to which the calling load door reference teleports.

Syntax

[help]
(X/Y/Z/Rot:float) LoadDoorRef.GetDoorTeleportX/Y/Z/Rot 

Example

float fX
float fY
float fZ
float fRot

let fX   := SomeDoorRef.GetDoorTeleportX
let fY   := SomeDoorRef.GetDoorTeleportY
let fZ   := SomeDoorRef.GetDoorTeleportZ
let fRot := SomeDoorRef.GetDoorTeleportRot

Notes

  • This returns the coordinates of the marker this door teleports you to, not the teleport marker that is spawned outside of the door.

See Also