PlayEventCamera - Game

Revision as of 13:35, 3 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

Plays an event camera attached to the given reference.

SyntaxEdit

Function PlayEventCamera( CameraShot akCamera, ObjectReference akRef ) native global

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

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

NotesEdit

  • 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 AlsoEdit