# Play Cutscene Range Over Time
Grammar — Play inCutscene from inBookmarkStart to inBookmarkEnd over inDuration seconds.
Flags —Native
|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> — Cutscenestring
— Bookmark Startstring
— Bookmark Endfixed
— Duration
Returns — void
native void CutscenePlayCutsceneRangeOverTime(
int inCutscene,
string inBookmarkStart,
string inBookmarkEnd,
fixed inDuration,
);
# Related
Category: Cutscene / Cutscenes
- Create Cutscene —
int
<preset::Cutscene> — CutsceneCreateNoPosition - Create Cutscene at Position —
int
<preset::Cutscene> — CutsceneCreateNew - Go To Next Cutscene Bookmark —
void
— CutsceneGoToNextBookmark - Cutscene EndScene Fired —
void
— TriggerAddEventCutsceneEndSceneFired - Create Cutscene —
int
<preset::Cutscene> — CutsceneCreate - Last Created Cutscene —
int
<preset::Cutscene> — CutsceneLastCreated - Play Cutscene —
void
— CutscenePlay - Pause Cutscene —
void
— CutscenePause - Stop Cutscene —
void
— CutsceneStop - Set Cutscene Time —
void
— CutsceneSetTime - Go To Cutscene Bookmark —
void
— CutsceneGoToBookmark - Show/Hide Cutscene —
void
— CutsceneShow - Play Cutscene Range Over Time —
void
— CutscenePlayCutsceneRangeOverTime - Cutscene Fade —
void
— CutsceneFade - Dialog Item Cutscene —
int
<preset::Cutscene> — CutsceneGetTriggerControl - Cutscene Bookmark Fired —
void
— TriggerAddEventCutsceneBookmarkFired - Triggering Cutscene —
int
<preset::Cutscene> — EventCutsceneId - Triggering Cutscene Bookmark —
string
— EventCutsceneBookmark - Wait For Cutscene To End —
void
— WaitForCutsceneToEnd
# Examples
campaigns/swarmstoryutil.sc2mod — base.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.sc2campaign — base.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.sc2mod — base.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;