StartDialogueCameraOrCenterOnTarget - Game

From the Fallout4 CreationKit Wiki
Revision as of 11:40, 20 November 2015 by imported>Plplecuyer (→‎Return Value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Start dialogue cameras or swing first person camera to the target - or current dialogue target if no target is passed.

Syntax

Function StartDialogueCameraOrCenterOnTarget(ObjectReference akCameraTarget = None) native global

Parameters

  • akCameraTarget: The target for the camera (if none, will use current dialogue target)
    • Default: none

Return Value

None

Examples

; Play camera if in third or swing first camera to speaker target
Game.StartDialogueCameraOrCenterOnTarget( )

See Also