Background for Fallout 4
Member of the Game script
voidfunctionPlayEventCamera(CameraShotakCamera, ObjectReferenceakRef)NativeGlobal

Description

Wiki Description

Plays an event camera attached to the given reference.

Documentation Comment

Play an event camera


Caveats

CK Wiki - Notes

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

Parameters

CameraShotakCamera

CK Wiki Description

The CameraShot to play.

ObjectReferenceakRef

CK Wiki Description

The object ref to use for camera placement (must be the same ref the camera had been authored for).


Examples

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

Auto-Generated Example

CameraShot myCameraShot__akCamera
ObjectReference myObjectReference__akRef

Game.PlayEventCamera(myCameraShot__akCamera, myObjectReference__akRef)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.