SetCameraTarget - Game: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Chesko
(Added note about CTD resulting from specifying a disabled arTarget. Tested under 1.7.7.0.6.)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
Function SetCameraTarget(Actor arTarget) native global
Function SetCameraTarget(Actor arTarget) native global
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 17: Line 17:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Set the player to stare at the dancer
; Set the player to stare at the dancer
Game.SetCameraTarget(Dancer)
Game.SetCameraTarget(Dancer)
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu