Difference between revisions of "SetCameraTarget - Game"
Jump to navigation
Jump to search
imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Game Script Sets the current target for the player's camera. == Syntax == <source lang="papyrus"> Function SetC…') |
imported>Chesko (Added note about CTD resulting from specifying a disabled arTarget. Tested under 1.7.7.0.6.) |
||
Line 21: | Line 21: | ||
Game.SetCameraTarget(Dancer) | Game.SetCameraTarget(Dancer) | ||
</source> | </source> | ||
== Notes == | |||
*Specifying an arTarget that is disabled will result in a CTD. | |||
== See Also == | == See Also == | ||
*[[Game Script]] | *[[Game Script]] |
Latest revision as of 07:40, 5 October 2012
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.