Background for Starfield
Member of the Game script
boolfunctionPopPlayerTo(ObjectReferenceakTarget, floatafXOffset=0.0, floatafYOffset=0.0, floatafZOffset=0.0, boolabMatchRotation=true, boolabCheckForCollision=false)NativeGlobal

Description

Documentation Comment

Pops the player to the location of the target without any load or screen fade. Note that the target reference must be in the same cell as the player.
If you have to move the player to a reference in another cell, use MoveTo instead.


Caveats


Parameters

ObjectReferenceakTarget

floatafXOffset=0.0

floatafYOffset=0.0

floatafZOffset=0.0

boolabMatchRotation=true

boolabCheckForCollision=false


Examples

Auto-Generated Example

ObjectReference myObjectReference__akTarget
float myFloat__afXOffset
float myFloat__afYOffset
float myFloat__afZOffset
bool myBool__abMatchRotation
bool myBool__abCheckForCollision

bool returnedValue = Game.PopPlayerTo(myObjectReference__akTarget, myFloat__afXOffset, myFloat__afYOffset, myFloat__afZOffset, myBool__abMatchRotation, myBool__abCheckForCollision)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.