SetPlayerOnElevator - Game

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

SyntaxEdit

Function SetPlayerOnElevator(bool abOnElevator= true) native global

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

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


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

See AlsoEdit