SetCameraTarget - Game
Revision as of 08:40, 5 October 2012 by imported>Chesko (Added note about CTD resulting from specifying a disabled arTarget. Tested under 1.7.7.0.6.)
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.