# User Data (Game Link)
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
<gamelink>
native string UserDataGetGameLink(
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/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:152
lv_indexMission = CatalogEntryGet(c_gameCatalogMap, auto8A275886_ai);
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 2) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2), 1);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:153
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 2) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2), 1);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:157
else {
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3), 1);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:158
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3), 1);
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:162
else {
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4), 1);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:163
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4), 1);
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:152
lv_indexMission = CatalogEntryGet(c_gameCatalogMap, auto8A275886_ai);
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 2) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2), 1);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:153
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 2) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 2), 1);
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:157
else {
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3), 1);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:158
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 3) > 0) || (libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 3), 1);
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:162
else {
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4), 1);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:163
}
if ((UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4) != null) && ((libSwaC_gf_MissionCompleteBestTime(lv_indexMission, 4) > 0))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lv_indexMission), "CompletionAchievementTerms", 4), 1);
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4885
// Automatic Variable Declarations
// Implementation
return UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "Pitch", 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4891
// Automatic Variable Declarations
// Implementation
return UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "Travel Pitch", 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:5097
}
return UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_mission), "EvolutionUnlocked", 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6514
// Automatic Variable Declarations
// Implementation
return UserDataGetGameLink("Planets", libSwaC_gf_ZS_PlanetUserData(lp_planet), "No Mission Pitch", 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6569
lv_index = 1;
for ( ; ( (auto075F95F9_ai >= 0 && lv_index <= auto075F95F9_ae) || (auto075F95F9_ai < 0 && lv_index >= auto075F95F9_ae) ) ; lv_index += auto075F95F9_ai ) {
if ((UserDataGetGameLink("ConversationTimestamps", UserDataInstance("ConversationTimestamps", lv_index), "Conversation", 1) == lp_conversation)) {
if ((UserDataGetInt("ConversationTimestamps", UserDataInstance("ConversationTimestamps", lv_index), "Wait", 1) == 1)) {
libSwaC_gf_DisplayTimestamp(UserDataInstance("ConversationTimestamps", lv_index), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8776
if ((lp_upgrade != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("TechUnit", libSwaC_gf_ZS_TechUnitOfArmyCategory(libSwaC_gv_zS_ArmyCustomCategoryCurrent), "AchievementTermUpgrade", 1), 1);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:10685
// Implementation
if ((lp_armyUnit != null)) {
return UserDataGetGameLink("TechUnit", libSwaC_gf_ZS_TechUnitOfArmyUnit(lp_armyUnit), "MorphArmyUnit", lp_index);
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12680
UserDataSetInt("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_map), "IsCurrent", 1, 1);
libSwaC_gv_zS_InStoryMode = libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindStory);
AchievementPanelSetCategory(PlayerGroupAll(), UserDataGetGameLink("Maps", libSwaC_gf_ZS_MapUserDataInstance(lp_map), "Achievements", 1));
TriggerDebugOutput(1, StringExternal("Param/Value/lib_SwaC_ED876F0C"), false);
libSwaC_gf_ZS_LoadAllTransitionData(lp_map);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13259
lv_index = 1;
for ( ; ( (auto7E532343_ai >= 0 && lv_index <= auto7E532343_ae) || (auto7E532343_ai < 0 && lv_index >= auto7E532343_ae) ) ; lv_index += auto7E532343_ai ) {
if ((UserDataGetGameLink("Planets", libSwaC_gf_ZS_PlanetUserData(libSwaC_gf_StoryMapPlanet(libSwaC_gf_CurrentMap())), "Travel Summary Origin", lv_index) == libSwaC_gf_StoryMapPlanet(lp_mission))) {
TextExpressionSetToken("Param/Expression/lib_SwaC_FAA2A2EC", "D", libSwaC_gf_StoryMapName(libSwaC_gf_LastSuccessfulMission()));
TextExpressionSetToken("Param/Expression/lib_SwaC_FAA2A2EC", "A", UserDataGetText("Planets", libSwaC_gf_ZS_PlanetUserData(libSwaC_gf_StoryMapPlanet(libSwaC_gf_CurrentMap())), "Travel Summary", lv_index));
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:14194
if ((libSwaC_gf_StoryMapTypeCheck(lp_mission, c_mapKindUpgrade) == true)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("TechUnit", libSwaC_gf_ZS_TechUnitOfArmyCategory(libSwaC_gf_MissionArmyCategoryUnlocked(lp_mission)), "AchievementTermEvolve", 1), 1);
if ((libSwaC_gv_zSX_IsSimulation == false)) {
libSwaC_gf_ZS_ArmyCustomEvolutionUIEnter(libSwaC_gf_MissionArmyCategoryUnlocked(lp_mission));
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:950
lv_index = 1;
for ( ; ( (auto996933DC_ai >= 0 && lv_index <= auto996933DC_ae) || (auto996933DC_ai <= 0 && lv_index >= auto996933DC_ae) ) ; lv_index += auto996933DC_ai ) {
libNtve_gf_SetDialogItemAchievement(lib281DEC45_gv_zSS_UIArchivesAchievements[lv_index], UserDataGetGameLink("Maps", lib281DEC45_gf_ZS_MapUserDataInstance(lv_mission), "Achievements", lv_index), PlayerGroupAll());
}
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1573
DialogSetVisible(lib281DEC45_gv_zSS_MissionDialog, PlayerGroupAll(), true);
TriggerExecute(lib281DEC45_gt_ZSS_UIMissionPlayMusic, true, false);
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, UserDataGetGameLink("Maps", lib281DEC45_gf_ZS_MapUserDataInstance(lib281DEC45_gv_zSS_NextMission), "UIAmbience", 1), c_soundtrackCueAny, c_soundtrackIndexAny, false);
if ((lib281DEC45_gv_zSS_NextMission == "ZLab2") && (libSwaC_gf_StoryInSimulation() == false)) {
libSwaC_gf_CinematicFade(true, 0.5, Color(0.00, 0.00, 0.00), true);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2377
else {
}
if ((UserDataGetGameLink("Character", lp_userInstance, "Game Link", 1) != null)) {
lv_name = StringExternal(CatalogFieldValueGet(c_gameCatalogCharacter, UserDataGetGameLink("Character", lp_userInstance, "Game Link", 1), "Name", c_playerAny));
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2378
}
if ((UserDataGetGameLink("Character", lp_userInstance, "Game Link", 1) != null)) {
lv_name = StringExternal(CatalogFieldValueGet(c_gameCatalogCharacter, UserDataGetGameLink("Character", lp_userInstance, "Game Link", 1), "Name", c_playerAny));
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4554
text lib281DEC45_gf_ZSS_CharacterName (string lp_character) {
// Implementation
if ((UserDataGetGameLink("Character", lp_character, "Game Link", 1) == null)) {
return UserDataGetText("Character", lp_character, "Name", 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4559
else {
}
return StringExternal(CatalogFieldValueGet(c_gameCatalogCharacter, (UserDataGetGameLink("Character", lp_character, "Game Link", 1)), "Name", c_playerAny));
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:8136
else {
}
lib281DEC45_gv_zSS_DebugStoryNextMap = UserDataGetGameLink("ScriptedScenes", lv_scene, "Default Map", 1);
if ((lib281DEC45_gv_zSS_DebugStoryNextMap == null)) {
TriggerDebugOutput(1, StringExternal("Param/Value/lib_281DEC45_B492BF55"), true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pstory01.sc2map/MapScript.galaxy:383
libVCST_gf_TurnFidgetStatusForClickableOnOff(lp_speaker, false);
libVCST_gf_TurnAlternateStatusForClickableOnOff(lp_speaker, false);
ConversationDataRun(UserDataGetGameLink("Clickable", lp_speaker, "GreetingConversation", 1), PlayerGroupAll(), c_conversationSkipSimple, false);
gv_roomGreetingActiveSpeaker = lp_speaker;
gv_roomGreetingActiveLine = ConversationDataActiveLine();
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pstory01.sc2map — MapScript.galaxy:383
libVCST_gf_TurnFidgetStatusForClickableOnOff(lp_speaker, false);
libVCST_gf_TurnAlternateStatusForClickableOnOff(lp_speaker, false);
ConversationDataRun(UserDataGetGameLink("Clickable", lp_speaker, "GreetingConversation", 1), PlayerGroupAll(), c_conversationSkipSimple, false);
gv_roomGreetingActiveSpeaker = lp_speaker;
gv_roomGreetingActiveLine = ConversationDataActiveLine();
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1655
// Implementation
if ((libVoiC_gf_PC_CampaignMapTypeCheck(libVoiC_gf_CurrentMap(), c_mapKindMission) == true)) {
AchievementPanelSetCategory(PlayerGroupAll(), UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(libVoiC_gf_CurrentMap()), "Achievements", 1));
}
else {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1726
}
libVoiC_gf_CampaignAwardAchievement(UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "Achievements", 1), 1);
if ((UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1), 1);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1727
libVoiC_gf_CampaignAwardAchievement(UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "Achievements", 1), 1);
if ((UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1728
libVoiC_gf_CampaignAwardAchievement(UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "Achievements", 1), 1);
if ((UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1731
}
if ((UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2) != null) && ((libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 2) == true) || (libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 4) == true))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1732
if ((UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2) != null) && ((libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 2) == true) || (libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 4) == true))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1735
}
if (((libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 4) == true)) && (UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1736
if (((libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 4) == true)) && (UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1739
}
if ((libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 4) == true) && (UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 4) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 4), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1740
if ((libVoiC_gf_MissionCompletedOnDifficulty(lp_completedMission, 4) == true) && (UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 4) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 4), 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1309
while (autoC085A94F_ai <= autoC085A94F_ae) {
lv_indexArmyCategory = CatalogEntryGet(c_gameCatalogArmyCategory, autoC085A94F_ai);
if ((libVoiC_gf_PC_TechUnitOfArmyCategory(lv_indexArmyCategory) != null) && (libVoiC_gf_PC_ArmyCategoryUnitType(lv_indexArmyCategory) != null) && (UserDataGetGameLink("TechUnit", libVoiC_gf_PC_TechUnitOfArmyCategory(lv_indexArmyCategory), "RequiredRace", 1) == "Prot")) {
libVoiC_gf_PC_StatEventCreate("UnitStats");
libVoiC_gf_PC_StatEventAddStr("UnitID", (libVoiC_gf_PC_ArmyCategoryUnitType(lv_indexArmyCategory)), libVoiC_gf_PC_StatEventLast());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:198
if ((libVCST_gv_pS_DebugStoryListType[libVCST_gv_pS_DebugStorySelectedIndex] == "Scenes")) {
lv_conversation = UserDataGetGameLink("Scenes", libVCST_gv_pS_DebugStoryListInstance[libVCST_gv_pS_DebugStorySelectedIndex], "Conversation", 1);
if ((lv_conversation != null)) {
libVCST_gf_PS_DebugStoryPreviewGroupRecursive(lv_conversation, "Group00001");
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:206
}
lv_conversation = UserDataGetGameLink("Conversations", libVCST_gv_pS_DebugStoryListInstance[libVCST_gv_pS_DebugStorySelectedIndex], "ConvoGameLink", 1);
if ((lv_conversation == null)) {
TriggerDebugOutput(1, StringExternal("Param/Value/lib_VCST_CAA1F39B"), true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:252
lv_indexMission = 1;
for ( ; ( (autoE1594938_ai >= 0 && lv_indexMission <= autoE1594938_ae) || (autoE1594938_ai < 0 && lv_indexMission >= autoE1594938_ae) ) ; lv_indexMission += autoE1594938_ai ) {
if ((UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission) != null)) {
libVCST_gf_PS_DebugStoryCheatCompleteMission(UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:253
for ( ; ( (autoE1594938_ai >= 0 && lv_indexMission <= autoE1594938_ae) || (autoE1594938_ai < 0 && lv_indexMission >= autoE1594938_ae) ) ; lv_indexMission += autoE1594938_ai ) {
if ((UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission) != null)) {
libVCST_gf_PS_DebugStoryCheatCompleteMission(UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission));
}
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: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:2912
}
if ((UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1) != "") && (libVoiC_gf_PC_ArmyCategoryState(UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1)) == c_armyCategoryStateLocked)) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2912
}
if ((UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1) != "") && (libVoiC_gf_PC_ArmyCategoryState(UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1)) == c_armyCategoryStateLocked)) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1181
// Automatic Variable Declarations
// Implementation
return UserDataGetGameLink("ArmyUpgradeCategories", lp_faction, "GlowModel", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1523
lv_index = 1;
for ( ; ( (auto9C012B84_ai >= 0 && lv_index <= auto9C012B84_ae) || (auto9C012B84_ai < 0 && lv_index >= auto9C012B84_ae) ) ; lv_index += auto9C012B84_ai ) {
libNtve_gf_SetDialogItemAchievement(libVCUI_gv_pU_ArchivesAchievements[lv_index], UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "Achievements", lv_index), PlayerGroupAll());
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1883
}
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(libVCUI_gv_pU_MissionNextMap), "UIAmbience", 1), c_soundtrackCueAny, c_soundtrackIndexAny, false);
libVCUI_gf_PU_MissionAddAliasedUnits();
libVCUI_gv_pU_MissionEasterEggVignetteEnabled = false;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1958
for ( ; ( (autoD4BA0498_ai >= 0 && lv_achievementIndex <= autoD4BA0498_ae) || (autoD4BA0498_ai < 0 && lv_achievementIndex >= autoD4BA0498_ae) ) ; lv_achievementIndex += autoD4BA0498_ai ) {
if ((libVCUI_gv_pU_MissionAchievementFrame[lv_achievementIndex] != c_invalidDialogControlId)) {
libNtve_gf_SetDialogItemAchievement(libVCUI_gv_pU_MissionAchievementFrame[lv_achievementIndex], UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(libVCUI_gv_pU_MissionNextMap), "Achievements", lv_achievementIndex), PlayerGroupAll());
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5453
lv_index = 1;
for ( ; ( (autoE51A1D67_ai >= 0 && lv_index <= autoE51A1D67_ae) || (autoE51A1D67_ai < 0 && lv_index >= autoE51A1D67_ae) ) ; lv_index += autoE51A1D67_ai ) {
libNtve_gf_SetDialogItemAchievement(libVCUI_gv_zS_VSAchievementTitle2[lv_index], UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "Achievements", lv_index), PlayerGroupAll());
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5482
lv_index = 1;
for ( ; ( (auto79B1147E_ai >= 0 && lv_index <= auto79B1147E_ae) || (auto79B1147E_ai < 0 && lv_index >= auto79B1147E_ae) ) ; lv_index += auto79B1147E_ai ) {
VictoryPanelAddAchievement(UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "Achievements", lv_index));
}
VictoryPanelSetMissionTitle(StringExternal("Param/Value/lib_VCUI_972F2FBA"));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:5708
lv_index = 1;
for ( ; ( (autoD4D88451_ai >= 0 && lv_index <= autoD4D88451_ae) || (autoD4D88451_ai < 0 && lv_index >= autoD4D88451_ae) ) ; lv_index += autoD4D88451_ai ) {
libNtve_gf_SetDialogItemAchievement(libVCUI_gv_zS_VSAchievementTitle2[lv_index], UserDataGetGameLink("Maps", libVoiC_gf_PC_MapUserDataInstance(lp_mission), "Achievements", lv_index), PlayerGroupAll());
}
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2579
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));
TriggerSendEvent(libGame_gv_eventID_MapSpecificAwardInitialize_C);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2922
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);
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_weightModifier = UserDataGetFixed("EndOfMatchGeneralAward", lp_userData, "Weight Modifier", 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2935
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);
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_weightModifier = UserDataGetFixed("EndOfMatchGeneralAward", lp_userData, "Weight Modifier", 1);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:17945
lv_pingIndex = UserDataGetInt(libGame_gv_wheelCmdUserType, lv_instance, "PingIndex", 1);
lv_cmd = UserDataGetAbilCmd("TheWheelOfCommand", lv_instance, "Command", 1);
lv_dummyEffect = UserDataGetGameLink(libGame_gv_wheelCmdUserType, lv_instance, "WheelDiffEffect", 1);
lv_maxPingIndex = MaxI(lv_maxPingIndex, lv_pingIndex);
lv_minPingIndex = MinI(lv_minPingIndex, lv_pingIndex);
mods/heroesmapmods/battlegroundmapmods/braxisholdout.stormmod — base.stormdata/LibSCHO.galaxy:3520
lv_itUserData = 1;
for ( ; ( (auto5F9041E4_ai >= 0 && lv_itUserData <= auto5F9041E4_ae) || (auto5F9041E4_ai < 0 && lv_itUserData >= auto5F9041E4_ae) ) ; lv_itUserData += auto5F9041E4_ai ) {
libNtve_gf_CreateUnitsWithDefaultFacing(UserDataGetInt("AttackWaves", lp_attackWave, "Count", lv_itUserData), UserDataGetGameLink("AttackWaves", lp_attackWave, "Attacking Units", lv_itUserData), 0, libCore_gv_cOMPUTER_Hostile, RegionRandomPoint(lp_attackRegion), null);
}
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:963
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);
lv_itUpgrade = UserDataGetGameLink(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Upgrade", 1);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:964
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);
lv_itUpgrade = UserDataGetGameLink(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Upgrade", 1);
lv_itMessage = (UserDataGetString(libLbty_gv_starCraftEventsEventTable, lv_itInstance, "Message", 1));
mods/liberty.sc2mod — base.sc2data/TriggerLibs/LibertyLib.galaxy:965
lv_itDisabler = UserDataGetGameLink("SCEvent_Events", lv_itInstance, "Disabler", 1);
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));
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:144
void libComC_gf_CC_AchievementCategorySet () {
// Implementation
if ((libComC_gf_CampaignMapTypeCheck(libComC_gf_CurrentMap(), c_mapKindMission) == true) && (UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(libComC_gf_CurrentMap()), "Achievements", 1) != null)) {
AchievementPanelSetCategory(PlayerGroupAll(), UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(libComC_gf_CurrentMap()), "Achievements", 1));
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:145
// Implementation
if ((libComC_gf_CampaignMapTypeCheck(libComC_gf_CurrentMap(), c_mapKindMission) == true) && (UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(libComC_gf_CurrentMap()), "Achievements", 1) != null)) {
AchievementPanelSetCategory(PlayerGroupAll(), UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(libComC_gf_CurrentMap()), "Achievements", 1));
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:188
// Implementation
libComC_gf_CampaignAwardAchievement(UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "Achievements", 1), 1);
if ((UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1), 1);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:189
// Implementation
libComC_gf_CampaignAwardAchievement(UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "Achievements", 1), 1);
if ((UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1), 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:190
libComC_gf_CampaignAwardAchievement(UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "Achievements", 1), 1);
if ((UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 1), 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:193
}
if ((UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2) != null) && ((libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 2) == true) || (libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 4) == true))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2), 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:194
if ((UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2) != null) && ((libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 2) == true) || (libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 4) == true))) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 2), 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:197
}
if (((libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 4) == true)) && (UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3), 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:198
if (((libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 3) == true) || (libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 4) == true)) && (UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 3), 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:201
}
if ((libComC_gf_CC_MissionCompletedOnDifficulty(lp_completedMission, 4) == true) && (UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 4) != null)) {
AchievementTermQuantitySet(1, UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_completedMission), "CompletionAchievementTerms", 4), 1);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:197
if ((libNCST_gv_nS_DebugStoryListType[libNCST_gv_nS_DebugStorySelectedIndex] == "Scenes")) {
lv_conversation = UserDataGetGameLink("Scenes", libNCST_gv_nS_DebugStoryListInstance[libNCST_gv_nS_DebugStorySelectedIndex], "Conversation", 1);
if ((lv_conversation != null)) {
libNCST_gf_NS_DebugStoryPreviewGroupRecursive(lv_conversation, "Group00001");
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:205
}
lv_conversation = UserDataGetGameLink("Conversations", libNCST_gv_nS_DebugStoryListInstance[libNCST_gv_nS_DebugStorySelectedIndex], "ConvoGameLink", 1);
if ((lv_conversation == null)) {
TriggerDebugOutput(1, StringExternal("Param/Value/lib_NCST_CAA1F39B"), true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:255
lv_indexMission = 1;
for ( ; ( (autoE1594938_ai >= 0 && lv_indexMission <= autoE1594938_ae) || (autoE1594938_ai <= 0 && lv_indexMission >= autoE1594938_ae) ) ; lv_indexMission += autoE1594938_ai ) {
if ((UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission) != null)) {
libNCST_gf_NS_DebugStoryCheatCompleteMission(UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:256
for ( ; ( (autoE1594938_ai >= 0 && lv_indexMission <= autoE1594938_ae) || (autoE1594938_ai <= 0 && lv_indexMission >= autoE1594938_ae) ) ; lv_indexMission += autoE1594938_ai ) {
if ((UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission) != null)) {
libNCST_gf_NS_DebugStoryCheatCompleteMission(UserDataGetGameLink("Conversations", lp_convoInstance, "RequiredMission", lv_indexMission));
}
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: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:2560
}
if ((UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1) != "") && (libComC_gf_CC_ArmyCategoryState(UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1)) == c_armyCategoryStateLocked)) {
return ;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2560
}
if ((UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1) != "") && (libComC_gf_CC_ArmyCategoryState(UserDataGetGameLink("AmbientEvents", lp_ambientEvent, "CategoryRequiredForEvent", 1)) == c_armyCategoryStateLocked)) {
return ;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:651
lv_index = 1;
for ( ; ( (auto9C012B84_ai >= 0 && lv_index <= auto9C012B84_ae) || (auto9C012B84_ai <= 0 && lv_index >= auto9C012B84_ae) ) ; lv_index += auto9C012B84_ai ) {
libNtve_gf_SetDialogItemAchievement(libNCUI_gv_nU_ArchivesAchievements[lv_index], UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "Achievements", lv_index), PlayerGroupAll());
}
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:1316
for ( ; ( (autoD4BA0498_ai >= 0 && lv_achievementIndex <= autoD4BA0498_ae) || (autoD4BA0498_ai <= 0 && lv_achievementIndex >= autoD4BA0498_ae) ) ; lv_achievementIndex += autoD4BA0498_ai ) {
if ((libNCUI_gv_NU_MissionAchievementFrame[lv_achievementIndex] != c_invalidDialogControlId)) {
libNtve_gf_SetDialogItemAchievement(libNCUI_gv_NU_MissionAchievementFrame[lv_achievementIndex], UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(libNCUI_gf_NU_NextAvailableMission()), "Achievements", lv_achievementIndex), PlayerGroupAll());
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:1773
auto5C4EAFD3_ae = UserDataFieldValueCount("CampaignTechItem", "UnitList")+1;
while (auto5C4EAFD3_ai < auto5C4EAFD3_ae) {
lv_indexArmyUnit = UserDataGetGameLink("CampaignTechItem", lv_indexTechItem, "UnitList", auto5C4EAFD3_ai);
auto5C4EAFD3_ai = auto5C4EAFD3_ai+1;
lv_unitListIndex += 1;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:2303
autoA8BA21A8_ae = UserDataFieldValueCount("CampaignTechItem", "UnitList")+1;
while (autoA8BA21A8_ai < autoA8BA21A8_ae) {
lv_indexArmyUnit = UserDataGetGameLink("CampaignTechItem", lv_techItem, "UnitList", autoA8BA21A8_ai);
autoA8BA21A8_ai = autoA8BA21A8_ai+1;
if ((libComC_gf_NC_StoryArmyUnitState(lv_indexArmyUnit) != c_armyUnitStateLocked)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:3962
lv_index = 1;
for ( ; ( (autoD4D88451_ai >= 0 && lv_index <= autoD4D88451_ae) || (autoD4D88451_ai <= 0 && lv_index >= autoD4D88451_ae) ) ; lv_index += autoD4D88451_ai ) {
libNtve_gf_SetDialogItemAchievement(libNCUI_gv_zS_VSAchievementTitle2[lv_index], UserDataGetGameLink("Maps", libComC_gf_CC_MapUserDataInstance(lp_mission), "Achievements", lv_index), PlayerGroupAll());
}
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1562
string libNovC_gf_NC_ArmyTechItemAssignedUnit (string lp_techItem) {
// Implementation
return UserDataGetGameLink("CampaignTechItem", lp_techItem, "AssignedUnit", 1);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1572
string libNovC_gf_NC_ArmyTechItemUnitFromIndex (string lp_techItem, int lp_unitIndex) {
// Implementation
return UserDataGetGameLink("CampaignTechItem", lp_techItem, "UnitList", lp_unitIndex);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1587
string libNovC_gf_NC_ArmyTechItemRequiredMission (string lp_techItem) {
// Implementation
return UserDataGetGameLink("CampaignTechItem", lp_techItem, "RequiredMission", 1);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1592
string libNovC_gf_NC_ArmyTechItemRequiredObjective (string lp_techItem) {
// Implementation
return UserDataGetGameLink("CampaignTechItem", lp_techItem, "RequiredObjective", 1);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:950
// Automatic Variable Declarations
// Implementation
return ((UserDataGetGameLink("CoopAICommanders", lp_aIPersonality, "Race", 1) == lp_aIRace) && (UserDataGetInt("CoopAICommanders", lp_aIPersonality, "RandomMapInitAllowed", 1) != 0));
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:5602
lv_i = 1;
for ( ; ( (autoC0C83786_ai >= 0 && lv_i <= autoC0C83786_ae) || (autoC0C83786_ai < 0 && lv_i >= autoC0C83786_ae) ) ; lv_i += autoC0C83786_ai ) {
if ((lp_unitType == UserDataGetGameLink("NovaUnitRanks", UserDataInstance("NovaUnitRanks", lv_i), "RankUnitType", 1))) {
return UserDataGetText("NovaUnitRanks", UserDataInstance("NovaUnitRanks", lv_i), "Rank", 1);
return null;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:6161
// Variable Initialization
lv_ragemultiplier = UserDataGetFixed("CoopAbilityTychusRageEffects", lp_rageEffect, "Rage Bonus Multiplier", 1);
lv_ragecost = libNtve_gf_CostOfAbility(UserDataGetGameLink("CoopAbilityTychusRageEffects", lp_rageEffect, "Rage Ability", 1), "Energy");
lv_extrarage = UnitGetPropertyFixed(lp_tychusUnit, c_unitPropEnergy, c_unitPropCurrent);
lv_replacementeffect = UserDataGetGameLink("CoopAbilityTychusRageEffects", lp_rageEffect, "Replacement Effect", 1);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:6163
lv_ragecost = libNtve_gf_CostOfAbility(UserDataGetGameLink("CoopAbilityTychusRageEffects", lp_rageEffect, "Rage Ability", 1), "Energy");
lv_extrarage = UnitGetPropertyFixed(lp_tychusUnit, c_unitPropEnergy, c_unitPropCurrent);
lv_replacementeffect = UserDataGetGameLink("CoopAbilityTychusRageEffects", lp_rageEffect, "Replacement Effect", 1);
lv_tychusowner = UnitGetOwner(lp_tychusUnit);