SetCameraTarget - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

Sets the current target for the player's camera.

Syntax

Function SetCameraTarget(Actor arTarget) native global

Parameters

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

Return Value

None.

Examples

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

Notes

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

See Also