SetPlayerOnElevator - Game
Revision as of 11:41, 15 January 2015 by imported>Plplecuyer (moved SetPlayerOnElevator to SetPlayerOnElevator - Game: Standards)
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)