SetPlayerOnElevator - Game
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)