PlayEventCamera - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Game Script

Plays an event camera attached to the given reference.

Syntax[edit | edit source]

Function PlayEventCamera( CameraShot akCamera, ObjectReference akRef ) native global

Parameters[edit | edit source]

  • akCamera: The CameraShot to play.
  • akRef: The object ref to use for camera placement (must be the same ref the camera had been authored for).

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Play an event camera using the Gate_Alias as its ref object.
Game.PlayEventCamera( EventCamera, Alias_Gate.GetRef() )

Notes[edit | edit source]

  • Currently, within the DialogueCamera state only.
  • Timing is not guaranteed. Use Select Camera Path on your Responses, instead, if you want the camera to show up immediately when an NPC speaks.

See Also[edit | edit source]