# User Data (String)
Grammar — User Data (userType, instance, field, index)
Flags —Native
|Function
Returns a value from user data for the given type, instance, and field. User data is defined in the Data module.
# Arguments
string
<gamelink::User> — User Typestring
<userinstance> — Instancestring
<userfield> — Fieldint
— Index
Returns — string
native string UserDataGetString(
string inType,
string inInstance,
string inField,
int inIndex,
);
# Related
Category: User Data / Get Value
- Load User Data Value Into Variable
- User Data (Ability Command) —
abilcmd
— UserDataGetAbilCmd - User Data (Actor) —
string
<gamelink::Actor> — UserDataGetActor - User Data (Color) —
color
— UserDataGetColor - User Data (Compare) —
int
<preset::UserDataCompare> — UserDataGetCompare - User Data (Game Link) —
string
<gamelink> — UserDataGetGameLink - User Data (Image) —
string
<filepath> — UserDataGetImagePath - User Data (Image Edge) —
int
<preset::TextTagEdge> — UserDataGetImageEdge - User Data (Image Attach) —
string
<preset::AttachPoints> — UserDataGetImageAttachPoint - User Data (Integer) —
int
— UserDataGetInt - User Data (Model) —
string
<gamelink::Model> — UserDataGetModel - User Data (Movie) —
string
<filepath> — UserDataGetMovie - User Data (Real) —
fixed
— UserDataGetFixed - User Data (Sound) —
string
<gamelink::Sound> — UserDataGetSound - User Data (String) —
string
— UserDataGetString - User Data (Text) —
text
— UserDataGetText - User Data (Unit) —
string
<gamelink::Unit> — UserDataGetUnit - User Data (Upgrade) —
string
<gamelink::Upgrade> — UserDataGetUpgrade - User Data (User Type) —
string
<gamelink::User> — UserDataGetUserType - User Data (User Instance) —
string
<userinstance> — UserDataGetUserInstance
# Examples
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6654
SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, true, true);
libNtve_gf_CinematicMode(true, PlayerGroupAll(), 0.0);
MovieStartRecording(UserDataGetString("Scenes", lp_scene, "RecordFileName", 1));
libSwaC_gf_ZS_DisplayCinematicTimestamp(lp_scene);
libSwaC_gf_CampaignPlayCutscene(libSwaC_gf_ZS_CinematicCutscene(lp_scene), Point(64.0, 64.0), true, true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6691
// Automatic Variable Declarations
// Implementation
return (UserDataGetString("Scenes", lp_scene, "cutscene", 1));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9962
// Automatic Variable Declarations
// Implementation
return UserDataGetString("TechUnit", libSwaC_gf_ZS_TechUnitOfArmyCategory(lp_armyCategory), "PlanetPanelCamera", 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:10627
// Automatic Variable Declarations
// Implementation
return UserDataGetString("TechUnit", libSwaC_gf_ZS_TechUnitOfArmyUnit(lp_armyUnit), "PlanetPanelCamera", 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:10633
// Automatic Variable Declarations
// Implementation
return UserDataGetString("TechUnit", libSwaC_gf_ZS_TechUnitOfArmyUnit(lp_armyUnit), "BonusMissionCamera", 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2316
for ( ; ( (auto2749AB36_ai >= 0 && lv_index <= auto2749AB36_ae) || (auto2749AB36_ai <= 0 && lv_index >= auto2749AB36_ae) ) ; lv_index += auto2749AB36_ai ) {
lv_indexScene = UserDataInstance("ScriptedScenes", lv_index);
if ((UserDataGetString("ScriptedScenes", lv_indexScene, "Type", 1) == lib281DEC45_gv_zSS_DebugStorySceneTypes[DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1)])) {
DialogControlAddItem(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll(), StringToText(UserDataGetString("ScriptedScenes", lv_indexScene, "DisplayName", 1)));
lv_typeIndex += 1;
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2317
lv_indexScene = UserDataInstance("ScriptedScenes", lv_index);
if ((UserDataGetString("ScriptedScenes", lv_indexScene, "Type", 1) == lib281DEC45_gv_zSS_DebugStorySceneTypes[DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1)])) {
DialogControlAddItem(lib281DEC45_gv_zSS_DebugStorySceneList, PlayerGroupAll(), StringToText(UserDataGetString("ScriptedScenes", lv_indexScene, "DisplayName", 1)));
lv_typeIndex += 1;
if ((lib281DEC45_gv_zSSX_DebugStoryScene != null) && (lib281DEC45_gv_zSSX_DebugStoryScene == lv_indexScene)) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2419
for ( ; ( (autoDCE900EE_ai >= 0 && lv_index <= autoDCE900EE_ae) || (autoDCE900EE_ai <= 0 && lv_index >= autoDCE900EE_ae) ) ; lv_index += autoDCE900EE_ai ) {
lv_scene = UserDataInstance("ScriptedScenes", lv_index);
if ((UserDataGetString("ScriptedScenes", lv_scene, "Type", 1) == lib281DEC45_gv_zSS_DebugStorySceneTypes[DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStoryTypeList, 1)])) {
lv_typeIndex += 1;
if ((lv_typeIndex == DialogControlGetSelectedItem(lib281DEC45_gv_zSS_DebugStorySceneList, 1))) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3610
lv_index = 1;
for ( ; ( (auto8ECDB4C8_ai >= 0 && lv_index <= auto8ECDB4C8_ae) || (auto8ECDB4C8_ai <= 0 && lv_index >= auto8ECDB4C8_ae) ) ; lv_index += auto8ECDB4C8_ai ) {
if ((UserDataGetString("AmbientScenes", lp_scene, "Bookmarks", lv_index) != "")) {
TimerStart(lib281DEC45_gv_zSS_AmbientSceneTimer[lv_sceneIndex][lv_index], UserDataGetFixed("AmbientScenes", lp_scene, "LeadInTimes", lv_index), false, c_timeReal);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3632
lib281DEC45_gv_zSS_AmbientSceneStatus[lp_sceneIndex] = lib281DEC45_ge_ZSS_AmbientSceneStatusType_ZSS_AmbientScenePlaying;
lv_sceneinstance = lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex];
CutsceneCreateNew(UserDataGetString("AmbientScenes",lv_sceneinstance,"CutsceneFile",1), lib281DEC45_gv_zSS_ConversationCutscenePosition, 0.0, PlayerGroupAll(), false);
lib281DEC45_gv_zSS_AmbientScenes[lp_sceneIndex][lp_bookmarkIndex] = CutsceneLastCreated();
if ((UserDataGetString("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "Bookmarks", lp_bookmarkIndex) != "")) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3634
CutsceneCreateNew(UserDataGetString("AmbientScenes",lv_sceneinstance,"CutsceneFile",1), lib281DEC45_gv_zSS_ConversationCutscenePosition, 0.0, PlayerGroupAll(), false);
lib281DEC45_gv_zSS_AmbientScenes[lp_sceneIndex][lp_bookmarkIndex] = CutsceneLastCreated();
if ((UserDataGetString("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "Bookmarks", lp_bookmarkIndex) != "")) {
CutsceneGoToBookmark(lib281DEC45_gv_zSS_AmbientScenes[lp_sceneIndex][lp_bookmarkIndex], UserDataGetString("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "Bookmarks", lp_bookmarkIndex));
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3635
lib281DEC45_gv_zSS_AmbientScenes[lp_sceneIndex][lp_bookmarkIndex] = CutsceneLastCreated();
if ((UserDataGetString("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "Bookmarks", lp_bookmarkIndex) != "")) {
CutsceneGoToBookmark(lib281DEC45_gv_zSS_AmbientScenes[lp_sceneIndex][lp_bookmarkIndex], UserDataGetString("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "Bookmarks", lp_bookmarkIndex));
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4539
string lib281DEC45_gf_CharacterSceneNameToken (string lp_character) {
// Implementation
return UserDataGetString("Character", lp_character, "SceneToken", 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4584
string lib281DEC45_gf_ZSS_CharacterActorAlias (string lp_character) {
// Implementation
return UserDataGetString("Character", lp_character, "Alias", 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4589
string lib281DEC45_gf_ZSS_CharacterSceneFinderTag (string lp_character) {
// Implementation
return UserDataGetString("Character", lp_character, "SceneFinderTag", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2434
// Implementation
lv_sceneName = UserDataGetString("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_map), "VignetteScene", 1);
return "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2447
// Implementation
lv_sceneName = UserDataGetString("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_map), "VignetteEasterEggScene", 1);
return "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:4108
libNtve_gf_StoryMode(PlayerGroupAll(), true);
libNtve_gf_CinematicMode(true, PlayerGroupAll(), c_transitionDurationImmediate);
libVoiC_gf_PC_MovieStartRecording(UserDataGetString("Scenes", lp_scene, "RecordFileName", 1));
libVoiC_gf_PC_DisplayCinematicTimestamp(lp_scene);
libVoiC_gf_CampaignPlayCutscene2(libVoiC_gf_PC_CinematicCutscene(lp_scene), true, true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:4630
// Automatic Variable Declarations
// Implementation
return UserDataGetString("TechUnit", libVoiC_gf_PC_TechUnitOfArmyCategory(lp_armyCategory), "CutsceneFilters", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:4712
// Automatic Variable Declarations
// Implementation
return UserDataGetString("TechUnit", libVoiC_gf_PC_TechUnitOfArmyCategory(lp_armyCategory), "PlanetPanelCamera", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:5122
// Automatic Variable Declarations
// Implementation
return UserDataGetString("ArmyUpgradeCategories", libVoiC_gf_PC_ArmyUnitFaction(lp_armyUnit), "CutsceneFilter", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:167
for ( ; ( (auto34730C5A_ai >= 0 && lv_index <= auto34730C5A_ae) || (auto34730C5A_ai < 0 && lv_index >= auto34730C5A_ae) ) ; lv_index += auto34730C5A_ai ) {
lv_indexConvo = UserDataInstance("Conversations", lv_index);
libVCST_gf_PS_DebugStoryAddListItem(("(Conv) " + UserDataGetString("Conversations", lv_indexConvo, "Name", 1)), lv_indexConvo, "Conversations");
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:257
}
libVCST_gf_PS_DebugStoryCheatSetConditionRecursive(UserDataGetGameLink("Conversations", lp_convoInstance, "ConvoGameLink", 1), UserDataGetString("Conversations", lp_convoInstance, "Group", 1));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2447
lv_backgroundIndex = 1;
for ( ; ( (autoDD527CDD_ai >= 0 && lv_backgroundIndex <= autoDD527CDD_ae) || (autoDD527CDD_ai < 0 && lv_backgroundIndex >= autoDD527CDD_ae) ) ; lv_backgroundIndex += autoDD527CDD_ai ) {
if ((libVoiC_gf_CurrentLocation() == UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Location", 1)) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Room", 1) == lp_room)) {
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libVCST_gf_NextAvailableMission(libVoiC_gf_CurrentLocation())) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Pre")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2448
for ( ; ( (autoDD527CDD_ai >= 0 && lv_backgroundIndex <= autoDD527CDD_ae) || (autoDD527CDD_ai < 0 && lv_backgroundIndex >= autoDD527CDD_ae) ) ; lv_backgroundIndex += autoDD527CDD_ai ) {
if ((libVoiC_gf_CurrentLocation() == UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Location", 1)) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Room", 1) == lp_room)) {
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libVCST_gf_NextAvailableMission(libVoiC_gf_CurrentLocation())) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Pre")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2449
if ((libVoiC_gf_CurrentLocation() == UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Location", 1)) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Room", 1) == lp_room)) {
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libVCST_gf_NextAvailableMission(libVoiC_gf_CurrentLocation())) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Pre")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
break;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2454
}
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libVoiC_gf_LastSuccessfulMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Post")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2455
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libVoiC_gf_LastSuccessfulMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Post")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
break;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2460
}
if ((UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Default")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2461
if ((UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Default")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2908
// Automatic Variable Declarations
// Implementation
if ((UserDataGetString("AmbientEvents", lp_ambientEvent, "CutsceneFile", 1) == "")) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:2089
PreloadLayout("UI\\Layout\\Custom\\LotV_SoAMissionUIPanel.SC2Layout", false);
PreloadAsset("Cutscenes\\UI_MissionLaunch.SC2Cutscene", false);
PreloadAsset(("Cutscenes\\" + UserDataGetString("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "VignetteScene", 1) + ".SC2Cutscene"), false);
autoA2F1B4E5_val = lp_mission;
if (autoA2F1B4E5_val == "PKorhal01") {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:2181
// Automatic Variable Declarations
// Implementation
return UserDataGetString("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_map), "UILaunchFilter", 1);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2576
DataTableSetText(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_Suffix_C), UserDataGetText("EndOfMatchMapSpecificAward", lp_userData, "Description", 1));
DataTableSetFixed(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_Base_C), UserDataGetFixed("EndOfMatchMapSpecificAward", lp_userData, "Base", 1));
DataTableSetBool(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_PresentAsRatio_C), libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Present as Ratio", 1)));
DataTableSetBool(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_GatedByBase_C), libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Gated by Base", 1)));
DataTableSetString(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_BadgeIndex_C), UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Award Badge Index", 1));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2577
DataTableSetFixed(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_Base_C), UserDataGetFixed("EndOfMatchMapSpecificAward", lp_userData, "Base", 1));
DataTableSetBool(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_PresentAsRatio_C), libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Present as Ratio", 1)));
DataTableSetBool(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_GatedByBase_C), libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Gated by Base", 1)));
DataTableSetString(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_BadgeIndex_C), UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Award Badge Index", 1));
DataTableSetString(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_ScoreValue_C), (UserDataGetGameLink("EndOfMatchMapSpecificAward", lp_userData, "Score Value Boolean", 1)));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2578
DataTableSetBool(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_PresentAsRatio_C), libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Present as Ratio", 1)));
DataTableSetBool(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_GatedByBase_C), libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Gated by Base", 1)));
DataTableSetString(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_BadgeIndex_C), UserDataGetString("EndOfMatchMapSpecificAward", lp_userData, "Award Badge Index", 1));
DataTableSetString(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_ScoreValue_C), (UserDataGetGameLink("EndOfMatchMapSpecificAward", lp_userData, "Score Value Boolean", 1)));
DataTableSetText(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_Tooltip_C), UserDataGetText("EndOfMatchMapSpecificAward", lp_userData, "Tooltip Text", 1));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2918
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_suffix = UserDataGetText("EndOfMatchGeneralAward", lp_userData, "Description", 1);
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_base = UserDataGetFixed("EndOfMatchGeneralAward", lp_userData, "Base", 1);
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_gatedbyBase = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Gated by Base", 1));
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_presentasRatio = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Present as Ratio", 1));
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_awardIndex = lp_award;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2919
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_base = UserDataGetFixed("EndOfMatchGeneralAward", lp_userData, "Base", 1);
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_gatedbyBase = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Gated by Base", 1));
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_presentasRatio = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Present as Ratio", 1));
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_awardIndex = lp_award;
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_awardBadgeIndex = UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Award Badge Index", 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2921
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_presentasRatio = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Present as Ratio", 1));
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_awardIndex = lp_award;
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_awardBadgeIndex = UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Award Badge Index", 1);
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_scoreValue = UserDataGetGameLink("EndOfMatchGeneralAward", lp_userData, "Score Value Boolean", 1);
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_tooltip = UserDataGetText("EndOfMatchGeneralAward", lp_userData, "Tooltip Text", 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2931
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_suffix = UserDataGetText("EndOfMatchGeneralAward", lp_userData, "Description", 1);
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_base = UserDataGetFixed("EndOfMatchGeneralAward", lp_userData, "Base", 1);
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_gatedbyBase = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Gated by Base", 1));
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_presentasRatio = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Present as Ratio", 1));
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_awardIndex = lp_award;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2932
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_base = UserDataGetFixed("EndOfMatchGeneralAward", lp_userData, "Base", 1);
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_gatedbyBase = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Gated by Base", 1));
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_presentasRatio = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Present as Ratio", 1));
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_awardIndex = lp_award;
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_awardBadgeIndex = UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Award Badge Index", 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2934
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_presentasRatio = libNtve_gf_ConvertStringToBoolean(UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Present as Ratio", 1));
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_awardIndex = lp_award;
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_awardBadgeIndex = UserDataGetString("EndOfMatchGeneralAward", lp_userData, "Award Badge Index", 1);
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_scoreValue = UserDataGetGameLink("EndOfMatchGeneralAward", lp_userData, "Score Value Boolean", 1);
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_tooltip = UserDataGetText("EndOfMatchGeneralAward", lp_userData, "Tooltip Text", 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/UILib.galaxy:2357
lv_index = 1;
for ( ; ( (auto4BC421F3_ai >= 0 && lv_index <= auto4BC421F3_ae) || (auto4BC421F3_ai < 0 && lv_index >= auto4BC421F3_ae) ) ; lv_index += auto4BC421F3_ai ) {
lv_suffix = UserDataGetString("AnnouncerPackVOReplacementList", "Default", "SoundIDSuffixes", lv_index);
if ((lv_suffix == "")) {
break;
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:961
for ( ; auto0F553801_i <= UserDataInstanceCount(auto0F553801_userType) ; auto0F553801_i += 1 ) {
lv_itInstance = UserDataInstance(auto0F553801_userType, auto0F553801_i);
lv_itStart = StringToDateTime(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Start", 1));
lv_itEnd = StringToDateTime(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "End", 1));
lv_itDisabler = UserDataGetGameLink("SCEvent_Events", lv_itInstance, "Disabler", 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:962
lv_itInstance = UserDataInstance(auto0F553801_userType, auto0F553801_i);
lv_itStart = StringToDateTime(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Start", 1));
lv_itEnd = StringToDateTime(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "End", 1));
lv_itDisabler = UserDataGetGameLink("SCEvent_Events", lv_itInstance, "Disabler", 1);
lv_itSkin = UserDataGetGameLink("SCEvent_Events", lv_itInstance, "Skin", 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:966
lv_itSkin = UserDataGetGameLink("SCEvent_Events", lv_itInstance, "Skin", 1);
lv_itUpgrade = UserDataGetGameLink(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Upgrade", 1);
lv_itMessage = (UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Message", 1));
lv_itMessageFilter = libNtve_gf_ConvertTargetFilterStringToUnitFilter(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "MessageFilter", 1));
if (((CatalogEntryIsValid(c_gameCatalogUpgrade, lv_itDisabler) == true) || (libNtve_gf_DateTimeisBetween(lv_curDateTime, lv_itStart, lv_itEnd) == false))) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:967
lv_itUpgrade = UserDataGetGameLink(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Upgrade", 1);
lv_itMessage = (UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Message", 1));
lv_itMessageFilter = libNtve_gf_ConvertTargetFilterStringToUnitFilter(UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "MessageFilter", 1));
if (((CatalogEntryIsValid(c_gameCatalogUpgrade, lv_itDisabler) == true) || (libNtve_gf_DateTimeisBetween(lv_curDateTime, lv_itStart, lv_itEnd) == false))) {
continue;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:1663
// Implementation
lv_cutsceneFile = UserDataGetString("Scenes", lp_scene, "Cutscene", 1);
if ((lv_cutsceneFile == "")) {
return null;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:1745
libNtve_gf_StoryMode(PlayerGroupAll(), true);
libNtve_gf_CinematicMode(true, PlayerGroupAll(), c_transitionDurationImmediate);
libComC_gf_NC_MovieStartRecording(UserDataGetString("Scenes", lp_scene, "RecordFileName", 1));
libComC_gf_CC_DisplayCinematicTimestamp(lp_scene, false);
TriggerEnable(libComC_gt_CC_DisplayTimestampFromBookmark, true);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:2133
string libComC_gf_NC_ArmyCategoryPlanetCamera (string lp_armyCategory) {
// Implementation
return UserDataGetString("TechUnit", libComC_gf_NC_TechUnitOfArmyCategory(lp_armyCategory), "PlanetPanelCamera", 1);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:167
for ( ; ( (auto34730C5A_ai >= 0 && lv_index <= auto34730C5A_ae) || (auto34730C5A_ai <= 0 && lv_index >= auto34730C5A_ae) ) ; lv_index += auto34730C5A_ai ) {
lv_indexConvo = UserDataInstance("Conversations", lv_index);
libNCST_gf_NS_DebugStoryAddListItem(("(Conv) " + UserDataGetString("Conversations", lv_indexConvo, "Name", 1)), lv_indexConvo, "Conversations");
}
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:260
}
libNCST_gf_NS_DebugStoryCheatSetConditionRecursive(UserDataGetGameLink("Conversations", lp_convoInstance, "ConvoGameLink", 1), UserDataGetString("Conversations", lp_convoInstance, "Group", 1));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2111
lv_backgroundIndex = 1;
for ( ; ( (autoDD527CDD_ai >= 0 && lv_backgroundIndex <= autoDD527CDD_ae) || (autoDD527CDD_ai <= 0 && lv_backgroundIndex >= autoDD527CDD_ae) ) ; lv_backgroundIndex += autoDD527CDD_ai ) {
if ((libComC_gf_CurrentLocation() == UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Location", 1)) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Room", 1) == lp_room)) {
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libNCST_gf_NextAvailableMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Pre")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2112
for ( ; ( (autoDD527CDD_ai >= 0 && lv_backgroundIndex <= autoDD527CDD_ae) || (autoDD527CDD_ai <= 0 && lv_backgroundIndex >= autoDD527CDD_ae) ) ; lv_backgroundIndex += autoDD527CDD_ai ) {
if ((libComC_gf_CurrentLocation() == UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Location", 1)) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Room", 1) == lp_room)) {
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libNCST_gf_NextAvailableMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Pre")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2113
if ((libComC_gf_CurrentLocation() == UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Location", 1)) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Room", 1) == lp_room)) {
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libNCST_gf_NextAvailableMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Pre")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
break;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2118
}
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libComC_gf_LastSuccessfulMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Post")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2119
if ((UserDataGetGameLink("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Mission", 1) == libComC_gf_LastSuccessfulMission()) && (UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Post")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
break;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2124
}
if ((UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Default")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2125
if ((UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Occurance", 1) == "Default")) {
lv_sceneName = UserDataGetString("Backgrounds", UserDataInstance("Backgrounds", lv_backgroundIndex), "Cutscene", 1);
lv_cutsceneFile = "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2556
void libNCST_gf_NS_AmbientEventPlay (int lp_room, int lp_scene, int lp_eventIndex, string lp_ambientEvent) {
// Implementation
if ((UserDataGetString("AmbientEvents", lp_ambientEvent, "CutsceneFile", 1) == "")) {
return ;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:16781
for ( ; ( (auto21E115F7_ai >= 0 && lv_i <= auto21E115F7_ae) || (auto21E115F7_ai < 0 && lv_i >= auto21E115F7_ae) ) ; lv_i += auto21E115F7_ai ) {
lv_userInstance = UserDataInstance(libCOMI_gv_c_DehakaConsumeEffectUserType, lv_i);
lv_effectFilterString = UserDataGetString(libCOMI_gv_c_DehakaConsumeEffectUserType, lv_userInstance, "Filter", 1);
lv_effectFilter = libNtve_gf_ConvertTargetFilterStringToUnitFilter(lv_effectFilterString);
if ((UnitFilterMatch(lv_targetUnit, lv_dehakaPlayer, lv_effectFilter) == true)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1016
if ((lp_upgradeSupplemental != null) && (CatalogEntryIsValid(c_gameCatalogUpgrade, lv_upgrade) == true) && (CatalogEntryIsValid(c_gameCatalogUpgrade, lv_supplement) == true) && (TechTreeUpgradeCount(lp_player, lv_upgrade, c_techCountCompleteOnly) > 0)) {
libNtve_gf_SetUpgradeLevelForPlayer(lp_player, lv_supplement, TechTreeUpgradeCount(lp_player, lv_upgrade, c_techCountCompleteOnly));
lv_script = UserDataGetString("PlayerPrestigeUpgradeSupplements", lp_upgradeSupplemental, "PostScript", 1);
if ((lv_script != "")) {
libNtve_gf_TriggerExecuteByName((lv_script + "_Func"), false, true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1103
}
lv_script = UserDataGetString("PlayerPrestige", lp_prestige, "ScriptName", 1);
if ((lv_script != "")) {
libNtve_gf_TriggerExecuteByName((lv_script + "_Func"), true, true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1580
// Implementation
lv_sceneName = UserDataGetString("PlayerCommanders", lp_commander, "SelectionScene", 1);
return "Cutscenes\\" + lv_sceneName + ".SC2Cutscene";
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1698
// Automatic Variable Declarations
// Implementation
return UserDataGetString("PlayerCommanders", lp_commander, "HeroReviveLink", 1);
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:4987
SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, true, true);
libNtve_gf_CinematicMode(true, PlayerGroupAll(), 0.0);
MovieStartRecording(UserDataGetString("Scenes", lp_scene, "RecordFileName", 1));
libA3DDD02B_gf_PP_DisplayCinematicTimestamp(lp_scene);
libA3DDD02B_gf_CampaignPlayCutscene(libA3DDD02B_gf_PP_CinematicCutscene(lp_scene), Point(64.0, 64.0), true, true);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5007
SoundChannelMute(PlayerGroupAll(), c_soundCategoryMusic, false);
libA3DDD02B_gv_pP_PlaySceneCurrentScene = lp_scene;
MovieStartRecording(UserDataGetString("Scenes", lp_scene, "RecordFileName", 1));
libA3DDD02B_gf_PP_DisplayCinematicTimestamp(lp_scene);
TriggerExecute(libA3DDD02B_gt_PP_PlayCinematicSkippable, true, true);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5026
// Automatic Variable Declarations
// Implementation
return (UserDataGetString("Scenes", lp_scene, "Cutscene", 1));
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5518
// Automatic Variable Declarations
// Implementation
return UserDataGetString("TechUnit", libA3DDD02B_gf_PP_TechUnitOfArmyCategory(lp_armyCategory), "PlanetPanelCamera", 1);
}
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:374
// Variable Initialization
lv_commanderdata = libWCdr_gf_GetLegendInstanceForPlayer(lp_player);
lv_triggername = UserDataGetString("PlayableLegends", lv_commanderdata, "CommanderInitTrigger", 1);
lv_functionname = (lv_triggername + "_Func");
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:2663
if ((libWCdr_gf_DifficultyPresetAppliestoCurrentGameMode(lv_difficultypresetinstance) == true) && ((((lv_currentdifference >= 0) && (lv_currentdifference <= lv_bestdifference)) == true) || ((lv_bestdifference == -1) && (lv_currentdifference >= 0)))) {
lv_bestdifference = lv_currentdifference;
lv_bestname = UserDataGetString("LegionDifficultyPresets", lv_difficultypresetinstance, "Name", 1);
}