Mod:Creation Kit/SetPlayerOnElevator - Game

Member of: Mod:Creation Kit/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
Function SetPlayerOnElevator(bool abOnElevator= true) native global

Parameters

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

Return Value
None

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