# 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
- [F] —
int
[ preset::Cutscene ] — Create Cutscene — ( CutsceneCreateNoPosition ) - [F] —
int
[ preset::Cutscene ] — Create Cutscene at Position — ( CutsceneCreateNew ) - [F] —
void
— Go To Next Cutscene Bookmark — ( CutsceneGoToNextBookmark ) - [F] —
void
— Cutscene EndScene Fired — ( TriggerAddEventCutsceneEndSceneFired ) - [F] —
int
[ preset::Cutscene ] — Create Cutscene — ( CutsceneCreate ) - [F] —
int
[ preset::Cutscene ] — Last Created Cutscene — ( CutsceneLastCreated ) - [F] —
void
— Play Cutscene — ( CutscenePlay ) - [F] —
void
— Pause Cutscene — ( CutscenePause ) - [F] —
void
— Stop Cutscene — ( CutsceneStop ) - [F] —
void
— Set Cutscene Time — ( CutsceneSetTime ) - [F] —
void
— Go To Cutscene Bookmark — ( CutsceneGoToBookmark ) - [F] —
void
— Show/Hide Cutscene — ( CutsceneShow ) - [F] —
void
— Play Cutscene Range Over Time — ( CutscenePlayCutsceneRangeOverTime ) - [F] —
void
— Cutscene Fade — ( CutsceneFade ) - [F] —
int
[ preset::Cutscene ] — Dialog Item Cutscene — ( CutsceneGetTriggerControl ) - [F] —
void
— Cutscene Bookmark Fired — ( TriggerAddEventCutsceneBookmarkFired ) - [F] —
int
[ preset::Cutscene ] — Triggering Cutscene — ( EventCutsceneId ) - [F] —
string
— Triggering Cutscene Bookmark — ( EventCutsceneBookmark ) - [F] —
void
— Wait For Cutscene To End — ( WaitForCutsceneToEnd )
# Examples
# campaigns/swarmstoryutil.sc2mod
// L4278
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)
# campaigns/voidstory.sc2campaign
// L3483
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)
# mods/missionpacks/novacampaign.sc2mod
// L2985
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)