SetCameraTarget - Game

From the CreationKit Wiki
Revision as of 07:40, 5 October 2012 by imported>Chesko (Added note about CTD resulting from specifying a disabled arTarget. Tested under 1.7.7.0.6.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]