# Go To Cutscene Bookmark

Grammar — Go to bookmark inBookmarkName in inCutscene.
FlagsNative | Action

Sets the time of the specified cutscene to the specified bookmark. If the bookmark is not found, there is no change. This does not play or pause the cutscene.

# Arguments

  • int [ preset::Cutscene ] — Cutscene
  • string — Bookmark

Returns — void

native void CutsceneGoToBookmark(
	int inCutscene,
	string inBookmarkName,
);

Category: Cutscene / Cutscenes

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L2076
CutsceneGoToBookmark(gv_scene_GorgonLaunch, "Char02CruiserLaunch_Start")
// L8443
CutsceneGoToBookmark(gv_elevatorCutscene, "LowerStart")
// L2076
CutsceneGoToBookmark(gv_scene_GorgonLaunch, "Char02CruiserLaunch_Start")
// L8443
CutsceneGoToBookmark(gv_elevatorCutscene, "LowerStart")

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L8187
CutsceneGoToBookmark(libSwaC_gv_zS_ArmyCustomEggLightScenes[lv_index], libSwaC_gf_ZS_ArmyCustomEggLightBookmark(lp_armyCategory, lp_lightType))
// L8200
CutsceneGoToBookmark(libSwaC_gv_zS_ArmyCustomEggRoomSetLightScene, "World Light Start")
// L8218
CutsceneGoToBookmark(libSwaC_gv_zS_ArmyCustomEggRoomEvoLightScene, "EggRoom - EvolutionMaster Start")
// L9278
CutsceneGoToBookmark(libSwaC_gv_zS_ArmyCustomEvolutionUnitLightScene[lv_sceneIndex], (libSwaC_gf_ZS_ArmyCategoryBookmarkToken(libSwaC_gv_zS_ArmyCustomEvolutionCategory, true) + lp_side + lp_state + "Start"))
// L9306
CutsceneGoToBookmark(libSwaC_gv_zS_ArmyCustomEvolutionFanfareCutscene, (libSwaC_gf_ZS_ArmyCategoryBookmarkToken(libSwaC_gv_zS_ArmyCustomEvolutionCategory, true) + " " + lp_unitSide + " Start"))
// L23752
CutsceneGoToBookmark(libSwaC_gv_zS_DebugCutscenes[libSwaC_gv_zS_DebugActiveCutscene], lv_bookmark)

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L2854
CutsceneGoToBookmark(lib281DEC45_gv_zSS_StorySetLightingCutscene, "World Light Start")
// L3635
CutsceneGoToBookmark(lib281DEC45_gv_zSS_AmbientScenes[lp_sceneIndex][lp_bookmarkIndex], UserDataGetString("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "Bookmarks", lp_bookmarkIndex))
// L4788
CutsceneGoToBookmark(lib281DEC45_gv_zSS_Characters[lib281DEC45_gf_ZSS_CharacterIndex(lp_character)].lv_lightingCutscene, (lv_setString + " - " + lp_token + " Start"))

# campaigns/void.sc2campaign

MapScript.galaxy

// L1530
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "StarmapZoomSTART")
// L1567
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "TableClickStart")
// L1589
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "ClickStart")
// L1530
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "StarmapZoomSTART")
// L1567
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "TableClickStart")
// L1589
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "ClickStart")

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L10247
CutsceneGoToBookmark(libVoiC_gv_pC_DebugCutscenes[libVoiC_gv_pC_DebugActiveCutscene], lv_bookmark)

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L1330
CutsceneGoToBookmark(libVCST_gv_pS_StorySetLightingCutscene, "World Light Start")
// L1908
CutsceneGoToBookmark(CutsceneLastCreated(), "StartLoop")
// L2544
CutsceneGoToBookmark(CutsceneLastCreated(), "LoopStart")
// L2919
CutsceneGoToBookmark(libVCST_gv_pS_AmbientEvents[lp_room][lp_scene][lp_eventIndex], UserDataGetString("AmbientEvents", lp_ambientEvent, "Bookmark", 1))
// L5317
CutsceneGoToBookmark(libVCUI_gv_pU_MissionCutscene, "Aiur05")
// L5523
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "CameraShake_01")
// L5526
CutsceneGoToBookmark(libVCST_gf_CurrentRoomCutscene(), "CameraShake_02")

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L664
CutsceneGoToBookmark(libVCUI_gv_pU_ArmyCutscene, "LoopStart")
// L1811
CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[1]), "Section1Start")
// L1814
CutsceneGoToBookmark(CutsceneGetTriggerControl(libVCUI_gv_pU_MissionVignetteScene[2]), "Section2Start")
// L1844
CutsceneGoToBookmark(libVCUI_gv_pU_MissionCutscene, "NoAnimateBirth")
// L1847
CutsceneGoToBookmark(libVCUI_gv_pU_MissionCutscene, "Birth")
// L1858
CutsceneGoToBookmark(libVCUI_gv_pU_MissionCutscene, "Stand")
// L2294
CutsceneGoToBookmark(libVCUI_gv_pU_SoABackgroundCutscene, "Main")
// L2886
CutsceneGoToBookmark(libVCUI_gv_pU_StarmapCutscene, "DoubleSelect")
// L2889
CutsceneGoToBookmark(libVCUI_gv_pU_StarmapCutscene, "ASelected")
// L2893
CutsceneGoToBookmark(libVCUI_gv_pU_StarmapCutscene, "BSelected")

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L1216
CutsceneGoToBookmark(libNCST_gv_nS_StorySetLightingCutscene, "World Light Start")
// L1714
CutsceneGoToBookmark(CutsceneLastCreated(), "StartLoop")
// L2187
CutsceneGoToBookmark(CutsceneLastCreated(), "LoopStart")
// L2567
CutsceneGoToBookmark(libNCST_gv_NS_AmbientEvents[lp_room][lp_scene][lp_eventIndex], UserDataGetString("AmbientEvents", lp_ambientEvent, "Bookmark", 1))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L18328
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lv_fenixPlayer]), "WorkStart")
// L18343
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[UnitGetOwner(lv_fenixUnitNew)]), "WorkStart")
// L18358
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lv_fenixPlayer]), "WorkStart")
// L18438
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lv_player]), "WorkEnd")
// L18542
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lv_player]), "WorkEnd")

# mods/starcoop/starcoop.sc2mod

LibCOUI.galaxy

// L4733
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPEnergyGlassScene[lp_player]), "PowerUp")
// L4734
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPEnergyBarScene[lp_player]), "PowerUp")
// L4735
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]), "PowerUp")
// L4739
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPEnergyGlassScene[lp_player]), "PowerDown")
// L4740
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPEnergyBarScene[lp_player]), "PowerDown")
// L4741
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]), "PowerDown")
// L4866
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]), "LoopStart")
// L4868
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPEnergyBarScene[lp_player]), "LoopStart")
// L4872
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPEnergyGlassScene[lp_player]), "LoopStart")
// L4911
CutsceneGoToBookmark(CutsceneGetTriggerControl(libCOUI_gv_cU_GPCutscene[lp_player]), "Death")

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L9864
CutsceneGoToBookmark(libA3DDD02B_gv_pP_CurrentCampaignCutscene, StringSub(EventChatMessage(false), 5, 200))