SetPlayerOnElevator - Game

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)

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