# Play Cutscene Range Over Time

Grammar — Play inCutscene from inBookmarkStart to inBookmarkEnd over inDuration seconds.
FlagsNative | Action

Tells the specified Cutscene to play from one bookmark to another over a specified amount of time. Playback is scaled in order to match the given duration.

# Arguments

  • int<preset::Cutscene> — Cutscene
  • string — Bookmark Start
  • string — Bookmark End
  • fixed — Duration

Returns — void

native void CutscenePlayCutsceneRangeOverTime(
	int inCutscene,
	string inBookmarkStart,
	string inBookmarkEnd,
	fixed inDuration,
);

Category: Cutscene / Cutscenes

# Examples

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:4278

        lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    }
    CutscenePlayCutsceneRangeOverTime(lib281DEC45_gv_zSS_ConversationScene, lib281DEC45_gf_ZSS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), lib281DEC45_gf_ZSS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);
    auto92D67A97_ai = 1;
    auto92D67A97_ae = UserDataInstanceCount("Character")+1;

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:3483

        lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    }
    CutscenePlayCutsceneRangeOverTime(libVCST_gv_pS_ConversationScene, libVCST_gf_PS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), libVCST_gf_PS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);
    auto8B3C31D6_ai = 1;
    auto8B3C31D6_ae = UserDataInstanceCount("Clickable")+1;

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCST.galaxy:2985

        lv_lineDuration = SoundLengthSync(SoundLink(ConversationDataActiveSound(), c_soundIndexAny));
    }
    CutscenePlayCutsceneRangeOverTime(libNCST_gv_nS_ConversationScene, libNCST_gf_NS_SceneCameraBookmark(lp_speaker, lp_cameraType, "Start"), libNCST_gf_NS_SceneCameraBookmark(lp_speaker, lp_cameraType, "End"), lv_lineDuration);
    auto8B3C31D6_ai = 1;
    auto8B3C31D6_ae = UserDataInstanceCount("Clickable")+1;