SetCameraTarget - Game

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Sets the current target for the player's camera.

Syntax[edit | edit source]

Function SetCameraTarget(Actor arTarget) native global

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]