Game PlayVideo

From CryWiki

Jump to: navigation, search

Game.PlayVideo(string [, number, number, boolean, boolean])

Description

Plays a video

Arguments

  1. Path to the video
  2. Audio channels (Default 0)
  3. Voice channels (Default -1)
  4. Use subtitles? (Default false)
  5. Exclusive video? (Default false)


Example

Lua (example)
Game.PlayVideo("Localized/Video/PS_Tutorial.sfd", -1, -1, false, true); -- Plays the PowerStruggle tutorial video in exclusive mode.


Personal tools