SetCameraTarget - Game

Member of: Game Script

Sets the current target for the player's camera.

SyntaxEdit

Function SetCameraTarget(Actor arTarget) native global

ParametersEdit

  • arTarget: The target to use for the player's camera

Return ValueEdit

None.

ExamplesEdit

; Set the player to stare at the dancer
Game.SetCameraTarget(Dancer)

NotesEdit

  • Specifying an arTarget that is disabled will result in a CTD.

See AlsoEdit