SetPlayerOnElevator - Game

From the Fallout4 CreationKit Wiki
Revision as of 11:41, 15 January 2015 by imported>Plplecuyer (moved SetPlayerOnElevator to SetPlayerOnElevator - Game: Standards)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

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

Syntax[edit | edit source]

Function SetPlayerOnElevator(bool abOnElevator= true) native global

Parameters[edit | edit source]

  • abOnElevator: Specifies whether to turn the player elevator flag on or off
    • Default: True

Return Value[edit | edit source]

None

Examples[edit | edit source]

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


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

See Also[edit | edit source]