Background for Fallout 4
Member of the Game script
voidfunctionPlayBink(stringasFileName, boolabInterruptible=false, boolabMuteAudio=true, boolabMuteMusic=true, boolabLetterbox=true, boolabIsNewGameBink=false)NativeGlobal

Description

Wiki Description

Plays the specified bink file.

Documentation Comment

Plays a bink video - does not return until bink has finished, use with care!


Caveats

CK Wiki - Notes

When the movie is playing, the game (including Papyrus) is completely frozen, so use with care. It will not return until the movie is over, or the user has canceled the movie.


Parameters

stringasFileName

CK Wiki Description

The bink file to play

boolabInterruptible=false

CK Wiki Description

Is the movie interruptable?

  • Default:False

boolabMuteAudio=true

CK Wiki Description

Should the normal game audio be muted?

  • Default:True

boolabMuteMusic=true

CK Wiki Description

Should the game music be muted?

  • Default:True

boolabLetterbox=true

CK Wiki Description

Should the movie be letterboxed, if necessary?

  • Default:True

boolabIsNewGameBink=false

CK Wiki Description

Is this the bink we show at the start of a new game?

  • Default:False

Examples

; Play the cool movie
Game.PlayBink("CoolMovie.bik")
; Play the cool movie, but allow it to be interrupted
Game.PlayBink("CoolMovie.bik", true)

Auto-Generated Example

string myString__asFileName
bool myBool__abInterruptible
bool myBool__abMuteAudio
bool myBool__abMuteMusic
bool myBool__abLetterbox
bool myBool__abIsNewGameBink

Game.PlayBink(myString__asFileName, myBool__abInterruptible, myBool__abMuteAudio, myBool__abMuteMusic, myBool__abLetterbox, myBool__abIsNewGameBink)

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.