Background for Fallout 4
Member of the Game script
voidfunctionSetPlayerOnElevator(boolabOnElevator=true)NativeGlobal

Description

Wiki Description

Set the state of the player on an Elevator to allow for npc's to pick up player on elevator packages or other behaviors

Documentation Comment

Enables or disables the Player on Elevator flag


Caveats


Parameters

boolabOnElevator=true

CK Wiki Description

Specifies whether to turn the player elevator flag on or off

  • Default:True

Examples

; Turn on the player on Elevator driven flag
Game.SetPlayerOnElevator()
; Turn off the player on Elevator driven flag
Game.SetPlayerOnElevator(false)

Auto-Generated Example

bool myBool__abOnElevator

Game.SetPlayerOnElevator(myBool__abOnElevator)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.