# User Data (Real)
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 — fixed
native fixed UserDataGetFixed(
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:2515
autoDEBA0DD7_val = lp_difficulty;
if (autoDEBA0DD7_val == 1) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Casual", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoDEBA0DD7_val == 2) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:2518
}
else if (autoDEBA0DD7_val == 2) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Normal", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoDEBA0DD7_val == 3) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:2521
}
else if (autoDEBA0DD7_val == 3) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Hard", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoDEBA0DD7_val == 4) {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:2524
}
else if (autoDEBA0DD7_val == 4) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Brutal", "DamageTakenRatio", 1) * 100.0)));
}
else {
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19694
lv_timestamp = UserDataGetText("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "Description", 1);
lv_title = UserDataGetText("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19695
lv_title = UserDataGetText("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19696
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19724
lv_title = UserDataGetText("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "Title", 1);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19725
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:19726
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libSwaC_gv_zS_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3611
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);
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3617
}
if ((UserDataGetInt("AmbientScenes", lp_scene, "Sequence From Start", 1) == 1)) {
TimerStart(lib281DEC45_gv_zSS_AmbientSceneTimer[lv_sceneIndex][0], UserDataGetFixed("AmbientScenes", lp_scene, "SequenceTime", 1), false, c_timeReal);
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:3674
else {
lib281DEC45_gv_zSS_AmbientSceneStatus[lp_sceneIndex] = lib281DEC45_ge_ZSS_AmbientSceneStatusType_ZSS_AmbientSceneSequencing;
TimerStart(lib281DEC45_gv_zSS_AmbientSceneTimer[lp_sceneIndex][0], UserDataGetFixed("AmbientScenes", lib281DEC45_gv_zSS_AmbientSceneInstance[lp_sceneIndex], "SequenceTime", 1), false, c_timeReal);
}
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10339
lv_timestamp = UserDataGetText("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "Description", 1);
lv_title = UserDataGetText("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("UI_Void_TextCallout", -1));
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10340
lv_title = UserDataGetText("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("UI_Void_TextCallout", -1));
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10341
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("UI_Void_TextCallout", -1));
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10369
lv_title = UserDataGetText("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "Title", 1);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10370
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:10371
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("Timestamps", libVoiC_gv_pC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4408
if (autoBB45CCF8_val == 1) {
GameSetSpeedValueMinimum(c_gameSpeedSlow);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Casual", "DamageTakenRatio", 1) * 100.0)));
TechTreeUpgradeAddLevel(1, "SuperiorWarpGates", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4413
else if (autoBB45CCF8_val == 2) {
GameSetSpeedValueMinimum(c_gameSpeedNormal);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Normal", "DamageTakenRatio", 1) * 100.0)));
TechTreeUpgradeAddLevel(1, "SuperiorWarpGates", 1);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4418
else if (autoBB45CCF8_val == 3) {
GameSetSpeedValueMinimum(c_gameSpeedFast);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Hard", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoBB45CCF8_val == 4) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4422
else if (autoBB45CCF8_val == 4) {
GameSetSpeedValueMinimum(c_gameSpeedFaster);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Brutal", "DamageTakenRatio", 1) * 100.0)));
}
else {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2796
for ( ; ( (auto308CD3B0_ai >= 0 && lv_continuousSceneIndex <= auto308CD3B0_ae) || (auto308CD3B0_ai < 0 && lv_continuousSceneIndex >= auto308CD3B0_ae) ) ; lv_continuousSceneIndex += auto308CD3B0_ai ) {
if ((libVCST_gv_pS_AmbientSceneInstance[lp_room][lv_continuousSceneIndex] == lp_scene)) {
TimerStart(libVCST_gv_pS_AmbientSceneTimer[lp_room][lv_continuousSceneIndex], UserDataGetFixed("AmbientScenes", lp_scene, "NextSceneDelay", 1), false, c_timeReal);
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2840
}
if (((libVCST_gv_pS_AmbientSceneStatus[lp_room][lv_sceneIndex] == libVCST_ge_PS_AmbientSceneStatusType_PS_AmbientSceneFinished) || (libVCST_gf_PS_AmbientSceneWaitForEventsToFinish(lp_scene) != true))) {
TimerStart(libVCST_gv_pS_AmbientSceneTimer[lp_room][lv_sceneIndex], UserDataGetFixed("AmbientScenes", lp_scene, "NextSceneDelay", 1), false, c_timeReal);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2856
if ((UserDataGetUserInstance("AmbientScenes", libVCST_gv_pS_AmbientSceneInstance[lp_room][lp_scene], "NextScene", 1) != null)) {
libVCST_gv_pS_AmbientSceneStatus[lp_room][lp_scene] = libVCST_ge_PS_AmbientSceneStatusType_PS_AmbientSceneFinished;
TimerStart(libVCST_gv_pS_AmbientSceneTimer[lp_room][lp_scene], UserDataGetFixed("AmbientScenes", libVCST_gv_pS_AmbientSceneInstance[lp_room][lp_scene], "NextSceneDelay", 1), false, c_timeReal);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1484
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesMissionTitle, libVoiC_gf_PC_CampaignMapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libVCUI_gv_pU_ArchivesMissionImage, libVoiC_gf_PC_CampaignMapMissionArchiveBackgroundImage(lv_selectedMission), PlayerGroupAll());
libVCUI_gf_PU_ArchivesSetUVs(UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
if ((libVCUI_gv_pU_ArchivesSynced == true) && (libVoiC_gf_PC_MissionRewardsBonusPossible(lv_selectedMission, "ShipEnergy") > 0)) {
DialogControlSetVisible(libVCUI_gv_pU_ArchivesMissionBonusLabel, PlayerGroupAll(), true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1484
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesMissionTitle, libVoiC_gf_PC_CampaignMapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libVCUI_gv_pU_ArchivesMissionImage, libVoiC_gf_PC_CampaignMapMissionArchiveBackgroundImage(lv_selectedMission), PlayerGroupAll());
libVCUI_gf_PU_ArchivesSetUVs(UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
if ((libVCUI_gv_pU_ArchivesSynced == true) && (libVoiC_gf_PC_MissionRewardsBonusPossible(lv_selectedMission, "ShipEnergy") > 0)) {
DialogControlSetVisible(libVCUI_gv_pU_ArchivesMissionBonusLabel, PlayerGroupAll(), true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:1484
libNtve_gf_SetDialogItemText(libVCUI_gv_pU_ArchivesMissionTitle, libVoiC_gf_PC_CampaignMapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libVCUI_gv_pU_ArchivesMissionImage, libVoiC_gf_PC_CampaignMapMissionArchiveBackgroundImage(lv_selectedMission), PlayerGroupAll());
libVCUI_gf_PU_ArchivesSetUVs(UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libVoiC_gf_PC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
if ((libVCUI_gv_pU_ArchivesSynced == true) && (libVoiC_gf_PC_MissionRewardsBonusPossible(lv_selectedMission, "ShipEnergy") > 0)) {
DialogControlSetVisible(libVCUI_gv_pU_ArchivesMissionBonusLabel, PlayerGroupAll(), true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2575
DataTableSetText(false, TriggerEventParamName(libGame_gv_eventID_MapSpecificAwardInitialize_C, libGame_gv_eventParam_MapSpecificAwardInitialize_Name_C), UserDataGetText("EndOfMatchMapSpecificAward", lp_userData, "Award Name", 1));
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)));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2917
libGame_gv_initialSecondaryAwardsList[(lp_award)].lv_name = UserDataGetText("EndOfMatchGeneralAward", lp_userData, "Award Name", 1);
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));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2924
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);
auto4D932EBB_ae = libCore_gv_bALMaxPlayers;
lv_iterator = 1;
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2930
libGame_gv_playerAwardEligibility[lv_iterator][(lp_award)].lv_name = UserDataGetText("EndOfMatchGeneralAward", lp_userData, "Award Name", 1);
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));
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/GameLib.galaxy:2937
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/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMMI.galaxy:60
if (auto3A9A3E66_val == 1) {
GameSetSpeedValueMinimum(c_gameSpeedSlow);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Casual", "DamageTakenRatio", 1) * 100.0)));
TechTreeUpgradeAddLevel(1, "SuperiorWarpGates", 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMMI.galaxy:65
else if (auto3A9A3E66_val == 2) {
GameSetSpeedValueMinimum(c_gameSpeedNormal);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Normal", "DamageTakenRatio", 1) * 100.0)));
TechTreeUpgradeAddLevel(1, "SuperiorWarpGates", 1);
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMMI.galaxy:70
else if (auto3A9A3E66_val == 3) {
GameSetSpeedValueMinimum(c_gameSpeedFast);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Hard", "DamageTakenRatio", 1) * 100.0)));
}
else if (auto3A9A3E66_val == 4) {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibCMMI.galaxy:74
else if (auto3A9A3E66_val == 4) {
GameSetSpeedValueMinimum(c_gameSpeedFaster);
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Brutal", "DamageTakenRatio", 1) * 100.0)));
}
else {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4434
lv_timestamp = UserDataGetText("Timestamps", libComC_gv_cC_CutsceneTimestamp, "Description", 1);
lv_title = UserDataGetText("Timestamps", libComC_gv_cC_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("UI_Void_TextCallout", -1));
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4435
lv_title = UserDataGetText("Timestamps", libComC_gv_cC_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("UI_Void_TextCallout", -1));
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4436
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("UI_Void_TextCallout", -1));
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4463
lv_title = UserDataGetText("Timestamps", libComC_gv_cC_CutsceneTimestamp, "Title", 1);
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4464
TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4465
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("Timestamps", libComC_gv_cC_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2441
for ( ; ( (auto308CD3B0_ai >= 0 && lv_continuousSceneIndex <= auto308CD3B0_ae) || (auto308CD3B0_ai <= 0 && lv_continuousSceneIndex >= auto308CD3B0_ae) ) ; lv_continuousSceneIndex += auto308CD3B0_ai ) {
if ((libNCST_gv_nS_AmbientSceneInstance[lp_room][lv_continuousSceneIndex] == lp_scene)) {
TimerStart(libNCST_gv_nS_AmbientSceneTimer[lp_room][lv_continuousSceneIndex], UserDataGetFixed("AmbientScenes", lp_scene, "NextSceneDelay", 1), false, c_timeReal);
return ;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2491
}
if (((libNCST_gv_nS_AmbientSceneStatus[lp_room][lv_sceneIndex] == libNCST_ge_NS_AmbientSceneStatusType_NS_AmbientSceneFinished) || (libNCST_gf_NS_AmbientSceneWaitForEventsToFinish(lp_scene) != true))) {
TimerStart(libNCST_gv_nS_AmbientSceneTimer[lp_room][lv_sceneIndex], UserDataGetFixed("AmbientScenes", lp_scene, "NextSceneDelay", 1), false, c_timeReal);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2506
if ((UserDataGetUserInstance("AmbientScenes", libNCST_gv_nS_AmbientSceneInstance[lp_room][lp_scene], "NextScene", 1) != null)) {
libNCST_gv_nS_AmbientSceneStatus[lp_room][lp_scene] = libNCST_ge_NS_AmbientSceneStatusType_NS_AmbientSceneFinished;
TimerStart(libNCST_gv_nS_AmbientSceneTimer[lp_room][lp_scene], UserDataGetFixed("AmbientScenes", libNCST_gv_nS_AmbientSceneInstance[lp_room][lp_scene], "NextSceneDelay", 1), false, c_timeReal);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:610
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesMissionTitle, libComC_gf_CC_MapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libNCUI_gv_nU_ArchivesMissionImage, libComC_gf_CC_MapMissionArchiveBackgroundImage(lv_selectedMission), PlayerGroupAll());
libNCUI_gf_NU_ArchivesSetUVs(UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
if ((libNCUI_gv_nU_ArchivesSynced == true) && (libNovC_gf_NC_MissionRewardsBonusPossible(lv_selectedMission) >= 1)) {
DialogControlSetVisible(libNCUI_gv_nU_ArchivesMissionBonusLabel, PlayerGroupAll(), true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:610
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesMissionTitle, libComC_gf_CC_MapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libNCUI_gv_nU_ArchivesMissionImage, libComC_gf_CC_MapMissionArchiveBackgroundImage(lv_selectedMission), PlayerGroupAll());
libNCUI_gf_NU_ArchivesSetUVs(UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
if ((libNCUI_gv_nU_ArchivesSynced == true) && (libNovC_gf_NC_MissionRewardsBonusPossible(lv_selectedMission) >= 1)) {
DialogControlSetVisible(libNCUI_gv_nU_ArchivesMissionBonusLabel, PlayerGroupAll(), true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCUI.galaxy:610
libNtve_gf_SetDialogItemText(libNCUI_gv_nU_ArchivesMissionTitle, libComC_gf_CC_MapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libNCUI_gv_nU_ArchivesMissionImage, libComC_gf_CC_MapMissionArchiveBackgroundImage(lv_selectedMission), PlayerGroupAll());
libNCUI_gf_NU_ArchivesSetUVs(UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libComC_gf_CC_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
if ((libNCUI_gv_nU_ArchivesSynced == true) && (libNovC_gf_NC_MissionRewardsBonusPossible(lv_selectedMission) >= 1)) {
DialogControlSetVisible(libNCUI_gv_nU_ArchivesMissionBonusLabel, PlayerGroupAll(), true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:1151
lv_waveInstance = "SiegeMissionWave07";
}
lv_resourcesFromUserData = UserDataGetFixed("CoopAIAttackWaves", lv_waveInstance, "resourceSize", libCOOC_gf_CC_DifficultyIndex(lp_difficulty));
return lv_resourcesFromUserData;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2567
if ((lv_unitTypeTest != null)) {
lv_unitTypeTestAlternate = UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTypeIter);
if ((lv_unitTypeTestAlternate != null) && (RandomFixed(0.0, 1.0) < UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTierIter))) {
lv_unitTypeTest = lv_unitTypeTestAlternate;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2581
lv_unitAvailableOnDifficulty = true;
lv_unitTypesForWave[lv_indexUnitType] = lv_unitTypeTest;
lv_unitTypePercentBase[lv_indexUnitType] += UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveBase", lv_unitTypeIter);
lv_unitTypePercentRandom[lv_indexUnitType] += UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveRandom", lv_unitTypeIter);
auto90F247F5_ae = UserDataInstanceCount("CoopAIAttackWaveUnitLimits");
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2582
lv_unitTypesForWave[lv_indexUnitType] = lv_unitTypeTest;
lv_unitTypePercentBase[lv_indexUnitType] += UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveBase", lv_unitTypeIter);
lv_unitTypePercentRandom[lv_indexUnitType] += UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveRandom", lv_unitTypeIter);
auto90F247F5_ae = UserDataInstanceCount("CoopAIAttackWaveUnitLimits");
lv_unitTypeLimitIter = 1;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2916
lv_difficultyAsInt = lv_difficulty;
lv_commanderTier = lp_commanderUnitTier;
lv_waveResourceTotal = (lp_resourceAllocation * UserDataGetFixed("CoopAICommanders", libCOMI_gv_cM_CoopAIPlayer_Commander[lp_player], "ResourceModifier", 1));
TextExpressionSetToken("Param/Expression/lib_COMI_91DF939C", "time", libCOOC_gf_FormatTimeCampaign(FixedToInt(GameGetMissionTime())));
TextExpressionSetToken("Param/Expression/lib_COMI_91DF939C", "player", IntToText(lp_player));
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2944
if ((lv_unitTypeTest != null) && (lv_difficultyAsInt >= UserDataGetInt("CoopAICommanderTiers", lv_commanderTier, "minDifficulty", lv_unitTypeIter))) {
lv_unitTypesForWave[lv_indexUnitType] = lv_unitTypeTest;
lv_unitTypePercentBase[lv_indexUnitType] = UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveBase", lv_unitTypeIter);
lv_unitTypePercentRandom[lv_indexUnitType] = (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveRandom", lv_unitTypeIter) + lv_unitTypePercentRandom[(lv_indexUnitType - 1)]);
if ((UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTypeIter) != null) && (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTypeIter) != 0.0)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2945
lv_unitTypesForWave[lv_indexUnitType] = lv_unitTypeTest;
lv_unitTypePercentBase[lv_indexUnitType] = UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveBase", lv_unitTypeIter);
lv_unitTypePercentRandom[lv_indexUnitType] = (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveRandom", lv_unitTypeIter) + lv_unitTypePercentRandom[(lv_indexUnitType - 1)]);
if ((UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTypeIter) != null) && (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTypeIter) != 0.0)) {
if ((RandomFixed(0.0, 1.0) < UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTierIter))) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2946
lv_unitTypePercentBase[lv_indexUnitType] = UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveBase", lv_unitTypeIter);
lv_unitTypePercentRandom[lv_indexUnitType] = (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveRandom", lv_unitTypeIter) + lv_unitTypePercentRandom[(lv_indexUnitType - 1)]);
if ((UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTypeIter) != null) && (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTypeIter) != 0.0)) {
if ((RandomFixed(0.0, 1.0) < UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTierIter))) {
lv_unitType = UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTierIter);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:2947
lv_unitTypePercentRandom[lv_indexUnitType] = (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PercentOfWaveRandom", lv_unitTypeIter) + lv_unitTypePercentRandom[(lv_indexUnitType - 1)]);
if ((UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTypeIter) != null) && (UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTypeIter) != 0.0)) {
if ((RandomFixed(0.0, 1.0) < UserDataGetFixed("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternateChance", lv_unitTierIter))) {
lv_unitType = UserDataGetUnit("CoopAICommanderTiers", lv_commanderTier, "PhaseUnitsAlternate", lv_unitTierIter);
lv_unitTypesForWave[lv_indexUnitType] = lv_unitType;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:3235
for ( ; ( (auto93DD5DF8_ai >= 0 && lv_upgradeIter <= auto93DD5DF8_ae) || (auto93DD5DF8_ai < 0 && lv_upgradeIter >= auto93DD5DF8_ae) ) ; lv_upgradeIter += auto93DD5DF8_ai ) {
libCOMI_gv_cM_CoopAI_CachedUpgradeData[lp_player].lv_upgrade[lv_upgradeIter] = UserDataGetUpgrade("CoopAIUpgrade", UserDataInstance("CoopAIUpgrade", lv_upgradeIter), "Upgrade", 1);
libCOMI_gv_cM_CoopAI_CachedUpgradeData[lp_player].lv_time[lv_upgradeIter] = UserDataGetFixed("CoopAIUpgrade", UserDataInstance("CoopAIUpgrade", lv_upgradeIter), "TimePerDifficult", lp_difficulty);
}
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:4310
libCOMU_gv_cT_VoidRiftLastSpawnedUnits = UnitGroupEmpty();
if ((GameGetMissionTime() >= 1200.0)) {
lv_resourceValue = UserDataGetFixed("CoopAIAttackWaves", "SiegeMissionWave03", "resourceSize", libCOOC_gf_CC_DifficultyIndex(libCOMI_gf_DifficultyLevelForPlayerCoop(lp_player)));
}
else if ((GameGetMissionTime() >= 500.0)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:4313
}
else if ((GameGetMissionTime() >= 500.0)) {
lv_resourceValue = UserDataGetFixed("CoopAIAttackWaves", "SiegeMissionWave02", "resourceSize", libCOOC_gf_CC_DifficultyIndex(libCOMI_gf_DifficultyLevelForPlayerCoop(lp_player)));
}
else if (true) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:4316
}
else if (true) {
lv_resourceValue = UserDataGetFixed("CoopAIAttackWaves", "SiegeMissionWave01", "resourceSize", libCOOC_gf_CC_DifficultyIndex(libCOMI_gf_DifficultyLevelForPlayerCoop(lp_player)));
}
if ((GameGetMissionTime() >= 1000.0)) {
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:5133
if ((UserDataGetInt("MutationDifficultyCountTargets", lv_countweightinstance, "MutatorCount", 1) == lv_countiter) && (libNtve_gf_UserDataInstanceGetIndex("MutationDifficultyLevels", UserDataGetUserInstance("MutationDifficultyCountTargets", lv_countweightinstance, "MinDifficulty", 1)) > lv_bestdifficultymatch)) {
lv_bestdifficultymatch = libNtve_gf_UserDataInstanceGetIndex("MutationDifficultyLevels", UserDataGetUserInstance("MutationDifficultyCountTargets", lv_countweightinstance, "MinDifficulty", 1));
lv_bestdifficultymatchtargetweight = UserDataGetFixed("MutationDifficultyCountTargets", lv_countweightinstance, "TargetWeight", 1);
if ((lv_countiter == lp_count)) {
lv_foundmatch = true;
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMU.galaxy:5241
// Implementation
if ((libCOMU_gf_CT_GetMutationDifficultyLevel() != null)) {
return UserDataGetFixed("MutationDifficultyLevels", libCOMU_gf_CT_GetMutationDifficultyLevel(), "XPModifier", 1);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:486
}
lv_rewards = FixedToInt(Round(((IntToFixed(libCOOC_gf_MissionObjectiveProgress(lp_objective))*IntToFixed(UserDataGetInt("Experience", "GameValues", "BonusObjExperience", 1))*UserDataGetFixed("MissionObjective", libCOOC_gf_CS_ObjectiveUserDataInstance(lp_objective), "XPMultiplier", 1))/IntToFixed(libCOOC_gf_MissionObjectiveItemCount(lp_objective)))));
return lv_rewards;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:819
// Automatic Variable Declarations
// Implementation
return UserDataGetFixed("MasteryUpgrades", lp_masteryUpgrade, "PointIncrement", lp_index);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1256
}
return UserDataGetFixed("Experience", "GameValues", "LossMaxMultiplier", 1);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:1409
// Automatic Variable Declarations
// Implementation
return (UserDataGetFixed("Experience", "GameValues", "DifficultyModifier", libCOOC_gf_CC_DifficultyIndex(lp_difficulty))+libCOMU_gf_CT_GetRandomMutatorXPModifier());
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1509
autoDEBA0DD7_val = lp_difficulty;
if (autoDEBA0DD7_val == 1) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Casual", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoDEBA0DD7_val == 2) {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1512
}
else if (autoDEBA0DD7_val == 2) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Normal", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoDEBA0DD7_val == 3) {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1515
}
else if (autoDEBA0DD7_val == 3) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Hard", "DamageTakenRatio", 1) * 100.0)));
}
else if (autoDEBA0DD7_val == 4) {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1518
}
else if (autoDEBA0DD7_val == 4) {
PlayerModifyPropertyInt(1, c_playerPropDamageTakenPercent, c_playerPropOperSetTo, FixedToInt((UserDataGetFixed("DifficultySettings", "Brutal", "DamageTakenRatio", 1) * 100.0)));
}
else {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7332
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesMissionTitle, libA3DDD02B_gf_StoryMapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libA3DDD02B_gv_pP_ArchivesMissionImage, libA3DDD02B_gf_StoryMapLoadingScreenImage(lv_selectedMission), PlayerGroupAll());
libA3DDD02B_gf_PU_ArchivesSetUVs(UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
DialogControlSetVisible(libA3DDD02B_gv_pP_ArchivesMissionBonusLabel, PlayerGroupAll(), false);
if ((libA3DDD02B_gv_pP_ArchivesSynced == true)) {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7332
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesMissionTitle, libA3DDD02B_gf_StoryMapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libA3DDD02B_gv_pP_ArchivesMissionImage, libA3DDD02B_gf_StoryMapLoadingScreenImage(lv_selectedMission), PlayerGroupAll());
libA3DDD02B_gf_PU_ArchivesSetUVs(UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
DialogControlSetVisible(libA3DDD02B_gv_pP_ArchivesMissionBonusLabel, PlayerGroupAll(), false);
if ((libA3DDD02B_gv_pP_ArchivesSynced == true)) {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7332
libNtve_gf_SetDialogItemText(libA3DDD02B_gv_pP_ArchivesMissionTitle, libA3DDD02B_gf_StoryMapName(lv_selectedMission), PlayerGroupAll());
libNtve_gf_SetDialogItemImage(libA3DDD02B_gv_pP_ArchivesMissionImage, libA3DDD02B_gf_StoryMapLoadingScreenImage(lv_selectedMission), PlayerGroupAll());
libA3DDD02B_gf_PU_ArchivesSetUVs(UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 1), UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 2), UserDataGetFixed("Maps", libA3DDD02B_gf_PP_MapUserDataInstance(lv_selectedMission), "ArchivesImageSettings", 3));
DialogControlSetVisible(libA3DDD02B_gv_pP_ArchivesMissionBonusLabel, PlayerGroupAll(), false);
if ((libA3DDD02B_gv_pP_ArchivesSynced == true)) {
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:8755
lv_timestamp = UserDataGetText("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "Description", 1);
lv_title = UserDataGetText("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:8756
lv_title = UserDataGetText("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "Title", 1);
Wait(UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:8757
Wait(UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "StartDelay", 1), c_timeReal);
UIShowTextCrawl(PlayerGroupAll(), lv_title, lv_timestamp, UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "FlashDuration", 1), SoundLink("Silent", -1), SoundLink("TextCrawlType", -1));
Wait(UserDataGetFixed("ConversationTimestamps", libA3DDD02B_gv_pP_CutsceneTimestamp, "WaitDuration", 1), c_timeReal);
return true;
}
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/Tactical/TacticalAIWar3.galaxy:341
aifilter filter;
unitgroup ethereals;
fixed amount=UserDataGetFixed("AbilityDataHealingWave", entry, "Healing Array", level+1);
ord = AICreateOrder(player, entry, 0);
if (!UnitOrderIsValid(aiUnit, ord)) {
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:27
libGAwX_InitVariables_completed = true;
libGAwX_gv_dayLenth = UserDataGetFixed("MiscData", "Misc", "DayLength", 1);
libGAwX_gv_allPlayers = PlayerGroupAll();
for (init_i = 0; init_i <= 30; init_i += 1) {
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:39
libGAwX_gv_creepSpotsCampBehavior = UserDataGetGameLink("MiscData", "Misc", "Creep - Camp Behavior", 1);
libGAwX_gv_creepSpotsMaxCampSize = MaxI(UserDataGetInt("MiscData", "Misc", "Creep - Max Camp Size", 1), 1);
libGAwX_gv_creepSpotsMaxCampRadius = MaxF(UserDataGetFixed("MiscData", "Misc", "Creep - Max Camp Radius", 1), 0.0625);
libGAwX_gv_warningText = c_invalidDialogControlId;
libGAwX_gv_warningDialog = c_invalidDialogId;
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:1772
lv_itPlaceId = UserDataGetInt(lv_userType, lv_instance, "Placed_Id", 1);
lv_itUnit = UnitFromId(lv_itPlaceId);
lv_itReal = UserDataGetFixed(lv_userType, lv_instance, "AcquireRadius", 1);
if ((lv_itReal == libGAwX_gv_c_UNITPROP_ACQUIRERAD_CAMP)) {
UnitBehaviorAdd(lv_itUnit, "War3_CreepCamp", lv_itUnit, 1);
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:2582
lv_difficultyscalingminlevel = UserDataGetInt("LegionDifficultyScaling", lv_difficultyscalinginstance, "MinLevel", 1);
lv_difficultyscalingmaxlevel = UserDataGetInt("LegionDifficultyScaling", lv_difficultyscalinginstance, "MaxLevel", 1);
lv_difficultyscalingvalue = UserDataGetFixed("LegionDifficultyScaling", lv_difficultyscalinginstance, "Value", 1);
if ((UserDataGetUserInstance("LegionDifficultyScaling", lv_difficultyscalinginstance, "Modifier", 1) == lp_difficultyType) && (libWCdr_gf_DifficultyScalingAppliestoCurrentGameMode(lv_difficultyscalinginstance) == true) && (lp_difficultyLevel >= lv_difficultyscalingminlevel)) {
lv_totalmultiplier += ((MinI(lp_difficultyLevel, lv_difficultyscalingmaxlevel) - lv_difficultyscalingminlevel + 1) * lv_difficultyscalingvalue);
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:2612
lv_difficultyscalingminlevel = UserDataGetInt("LegionDifficultyScaling", lv_difficultyscalinginstance, "MinLevel", 1);
lv_difficultyscalingmaxlevel = UserDataGetInt("LegionDifficultyScaling", lv_difficultyscalinginstance, "MaxLevel", 1);
lv_difficultyscalingvalue = RoundI(UserDataGetFixed("LegionDifficultyScaling", lv_difficultyscalinginstance, "Value", 1));
if ((UserDataGetUserInstance("LegionDifficultyScaling", lv_difficultyscalinginstance, "Modifier", 1) == lp_difficultyType) && (libWCdr_gf_DifficultyScalingAppliestoCurrentGameMode(lv_difficultyscalinginstance) == true) && (lp_difficultyLevel >= lv_difficultyscalingminlevel) && (lp_difficultyLevel <= lv_difficultyscalingmaxlevel)) {
lv_sum += lv_difficultyscalingvalue;
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:2634
lv_maxlevel = UserDataGetInt("LegionDifficultyScaling", "PlayerHandicap", "MaxLevel", 1);
lv_currentlevel = libNtve_gf_ArithmeticIntClamp(PlayerGroupCount(libWCdr_gf_GetLegendPlayers()), lv_minlevel, lv_maxlevel);
lv_scalingperlevel = UserDataGetFixed("LegionDifficultyScaling", "PlayerHandicap", "Value", 1);
// Implementation