# Catalog Field Value Get
Grammar — Value of catalog entry fieldPath for player player
Flags —Native
|Function
Returns the value of a field for an entry. Use catalog lookup functions to retrieve a data value or other information from the game data. To find the name of a field path, open the data editor and turn on View Raw Data. For example, if you wanted to get the unit for the first index of a train ability, your field path string would be “InfoArray[0].Unit”.
# Arguments
int
<preset::CatalogType> — Catalogstring
<catalogentry> — Entrystring
<catalogfieldpath> — Field Pathint
— Player
Returns — string
native string CatalogFieldValueGet(
int catalog,
string entry,
string fieldPath,
int player,
);
# Related
Category: Catalog / Lookup
- Catalog Entry Is Default —
bool
— CatalogEntryIsDefault - Catalog Entry Is Valid —
bool
— CatalogEntryIsValid - Catalog Entry Class —
int
— CatalogEntryClass - Catalog Entry Count —
int
— CatalogEntryCount - Catalog Entry Get —
string
<catalogentry> — CatalogEntryGet - Catalog Entry Parent —
string
<catalogentry> — CatalogEntryParent - Catalog Entry Scope —
string
<catalogscope> — CatalogEntryScope - Catalog Field Count —
int
— CatalogFieldCount - Catalog Field Get —
string
<catalogfieldname> — CatalogFieldGet - Catalog Field Exists —
bool
— CatalogFieldExists - Catalog Field Is Array —
bool
— CatalogFieldIsArray - Catalog Field Is Scope —
bool
— CatalogFieldIsScope - Catalog Field Type —
string
— CatalogFieldType - Catalog Field Type Category —
int
<preset::FieldTypeCategory> — CatalogFieldTypeCategory - Catalog Field Value Get —
string
— CatalogFieldValueGet - Catalog Field Value Get As Integer —
int
— CatalogFieldValueGetAsInt - Catalog Field Value Get Flags As Integer —
int
— CatalogFieldValueGetFlagsAsInt - Catalog Field Value Get As Real —
fixed
— libNtve_gf_CatalogFieldValueGetAsReal - Catalog Field Value Count —
int
— CatalogFieldValueCount - Catalog Reference Get —
string
— CatalogReferenceGet - Catalog Reference Get As Integer —
int
— CatalogReferenceGetAsInt - Catalog Reference Get As Real —
fixed
— libNtve_gf_CatalogReferenceGetAsReal - Catalog Reference Count —
int
— CatalogReferenceCount - Class Of Ability —
int
<preset::AbilityClass> — AbilityClass - Cost Of Ability —
fixed
— libNtve_gf_CostOfAbility
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2299
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2299
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2300
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), -20.0, -20.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2326
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2326
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2327
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), 20.0, -20.0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:3384
// Implementation
lv_string = CatalogFieldValueGet(c_gameCatalogUnit, (lp_unitType), "ScoreKill", c_playerAny);
return StringToInt(lv_string);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:5661
}
lv_scaleString = CatalogFieldValueGet(c_gameCatalogModel, "SS_TerraTron", "ScaleMin", 1);
lv_scaleString = StringSub(lv_scaleString, 1, 6);
gv_terraTronScale = StringToFixed(lv_scaleString);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:466
AISetFilterAlliance(lv_snipeFilter, c_playerGroupEnemy);
AISetFilterBits(lv_snipeFilter, libNtve_gf_ConvertTargetFilterStringToUnitFilter(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "TargetFilters[" + IntToString(0) + "]", lp_owner)));
AISetFilterRange(lv_snipeFilter, lp_ghost, (StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "Range[" + IntToString(0) + "]", lp_owner)) + 1.0));
AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:467
AISetFilterAlliance(lv_snipeFilter, c_playerGroupEnemy);
AISetFilterBits(lv_snipeFilter, libNtve_gf_ConvertTargetFilterStringToUnitFilter(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "TargetFilters[" + IntToString(0) + "]", lp_owner)));
AISetFilterRange(lv_snipeFilter, lp_ghost, (StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "Range[" + IntToString(0) + "]", lp_owner)) + 1.0));
AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
lp_candidates = AIGetFilterGroup(lv_snipeFilter, lp_candidates);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:468
AISetFilterBits(lv_snipeFilter, libNtve_gf_ConvertTargetFilterStringToUnitFilter(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "TargetFilters[" + IntToString(0) + "]", lp_owner)));
AISetFilterRange(lv_snipeFilter, lp_ghost, (StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "Range[" + IntToString(0) + "]", lp_owner)) + 1.0));
AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
lp_candidates = AIGetFilterGroup(lv_snipeFilter, lp_candidates);
lv_snipeOrder = OrderTargetingUnit(AbilityCommand("Snipe", 0), UnitGroupUnit(lp_candidates, 1));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2299
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2299
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2300
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), -20.0, -20.0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2326
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2326
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2327
// Implementation
lv_effectDuration = (StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodCount", 1)) * StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SS_TerraTronBeamAttackPersistent", "PeriodicPeriodArray[0]", 1)));
lv_effectMoveSpeed = StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "SS_TerraTronBeamTarget", "Speed", 1));
lv_moveOffset = (lv_effectDuration * lv_effectMoveSpeed * -1.0);
libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_TerraTronBeamTarget", 0, UnitGetOwner(gv_boss), PointWithOffset(UnitGetPosition(gv_boss), 20.0, -20.0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:3384
// Implementation
lv_string = CatalogFieldValueGet(c_gameCatalogUnit, (lp_unitType), "ScoreKill", c_playerAny);
return StringToInt(lv_string);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:5661
}
lv_scaleString = CatalogFieldValueGet(c_gameCatalogModel, "SS_TerraTron", "ScaleMin", 1);
lv_scaleString = StringSub(lv_scaleString, 1, 6);
gv_terraTronScale = StringToFixed(lv_scaleString);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:466
AISetFilterAlliance(lv_snipeFilter, c_playerGroupEnemy);
AISetFilterBits(lv_snipeFilter, libNtve_gf_ConvertTargetFilterStringToUnitFilter(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "TargetFilters[" + IntToString(0) + "]", lp_owner)));
AISetFilterRange(lv_snipeFilter, lp_ghost, (StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "Range[" + IntToString(0) + "]", lp_owner)) + 1.0));
AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:467
AISetFilterAlliance(lv_snipeFilter, c_playerGroupEnemy);
AISetFilterBits(lv_snipeFilter, libNtve_gf_ConvertTargetFilterStringToUnitFilter(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "TargetFilters[" + IntToString(0) + "]", lp_owner)));
AISetFilterRange(lv_snipeFilter, lp_ghost, (StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "Range[" + IntToString(0) + "]", lp_owner)) + 1.0));
AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
lp_candidates = AIGetFilterGroup(lv_snipeFilter, lp_candidates);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2map — MapScript.galaxy:468
AISetFilterBits(lv_snipeFilter, libNtve_gf_ConvertTargetFilterStringToUnitFilter(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "TargetFilters[" + IntToString(0) + "]", lp_owner)));
AISetFilterRange(lv_snipeFilter, lp_ghost, (StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "Snipe", "Range[" + IntToString(0) + "]", lp_owner)) + 1.0));
AISetFilterLifePerMarker(lv_snipeFilter, StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "SnipeDamage", "Amount", lp_owner)), lv_snipeMarker);
lp_candidates = AIGetFilterGroup(lv_snipeFilter, lp_candidates);
lv_snipeOrder = OrderTargetingUnit(AbilityCommand("Snipe", 0), UnitGroupUnit(lp_candidates, 1));
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:1200
}
lv_strMsg = CatalogFieldValueGet(c_gameCatalogSound, lv_sndGameLink, ("AssetArray[" + IntToString(lv_sndAssetID) + "].Subtitle"), 1);
lv_msg = StringExternal(lv_strMsg);
return lv_msg;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/evolution/zevolutionmutalisk.sc2map/MapScript.galaxy:1057
TriggerEnable(TriggerGetCurrent(), false);
CatalogFieldValueSet(c_gameCatalogUnit, "Mutalisk", "Speed", gv_pLAYER_04_FERALZERG, CatalogFieldValueGet(c_gameCatalogUnit, "Mutalisk", "Speed", gv_pLAYER_01_USER));
UnitGroupLoopBegin(gv_feralEscortGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:1347
UnitBehaviorAdd(auto540EC199_var, "Harmless", auto540EC199_var, 1);
}
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1244
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_kerrigan2222), c_animNameDefault, "Stand Morph", c_animFlagPlayForever, c_animTimeDefault);
gv_s1_HealBotScientist = UnitFromId(86);
gv_crushingGrip_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "PsionicLift", "Tooltip", gv_pLAYER_01_USER);
gv_kineticBlast_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "MindBolt", "Tooltip", gv_pLAYER_01_USER);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:1245
gv_s1_HealBotScientist = UnitFromId(86);
gv_crushingGrip_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "PsionicLift", "Tooltip", gv_pLAYER_01_USER);
gv_kineticBlast_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "MindBolt", "Tooltip", gv_pLAYER_01_USER);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:10368
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/36135BBC"), IntToText(libNtve_gf_UnitGetPropertyKills(gv_kerrigan, c_unitPropCurrent)));
if ((gv_kineticBlastUses >= gv_crushingGripUses)) {
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/317A2619"), StringExternal(CatalogFieldValueGet(c_gameCatalogAbil, "MindBolt", "Name", gv_pLAYER_01_USER)));
}
else {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab02.sc2map/MapScript.galaxy:10371
}
else {
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/66D7C0AE"), StringExternal(CatalogFieldValueGet(c_gameCatalogAbil, "PsionicLift", "Name", gv_pLAYER_01_USER)));
}
TextExpressionSetToken("Param/Expression/F40CB0C7", "A", IntToText(gv_s3_TramEnginesDestroyed));
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1440
}
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
gv_overlord_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Overlord", "Tooltip", gv_pLAYER_01_USER);
gv_drone_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Drone", "Tooltip", gv_pLAYER_01_USER);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1441
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
gv_overlord_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Overlord", "Tooltip", gv_pLAYER_01_USER);
gv_drone_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Drone", "Tooltip", gv_pLAYER_01_USER);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:1442
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
gv_overlord_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Overlord", "Tooltip", gv_pLAYER_01_USER);
gv_drone_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Drone", "Tooltip", gv_pLAYER_01_USER);
return true;
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zspace01.sc2map/MapScript.galaxy:649
}
else {
lv_amount = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(lp_unitKilled)), "CostResource[Minerals]", gv_pLAYER_01_USER));
}
if ((lv_amount <= 0)) {
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map/MapScript.galaxy:151
while (auto8A275886_ai <= auto8A275886_ae) {
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/evolution/zevolutionmutalisk.sc2map — MapScript.galaxy:1057
TriggerEnable(TriggerGetCurrent(), false);
CatalogFieldValueSet(c_gameCatalogUnit, "Mutalisk", "Speed", gv_pLAYER_04_FERALZERG, CatalogFieldValueGet(c_gameCatalogUnit, "Mutalisk", "Speed", gv_pLAYER_01_USER));
UnitGroupLoopBegin(gv_feralEscortGroup);
for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2map — MapScript.galaxy:1347
UnitBehaviorAdd(auto540EC199_var, "Harmless", auto540EC199_var, 1);
}
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1244
libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(gv_kerrigan2222), c_animNameDefault, "Stand Morph", c_animFlagPlayForever, c_animTimeDefault);
gv_s1_HealBotScientist = UnitFromId(86);
gv_crushingGrip_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "PsionicLift", "Tooltip", gv_pLAYER_01_USER);
gv_kineticBlast_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "MindBolt", "Tooltip", gv_pLAYER_01_USER);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:1245
gv_s1_HealBotScientist = UnitFromId(86);
gv_crushingGrip_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "PsionicLift", "Tooltip", gv_pLAYER_01_USER);
gv_kineticBlast_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "MindBolt", "Tooltip", gv_pLAYER_01_USER);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:10368
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/36135BBC"), IntToText(libNtve_gf_UnitGetPropertyKills(gv_kerrigan, c_unitPropCurrent)));
if ((gv_kineticBlastUses >= gv_crushingGripUses)) {
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/317A2619"), StringExternal(CatalogFieldValueGet(c_gameCatalogAbil, "MindBolt", "Name", gv_pLAYER_01_USER)));
}
else {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab02.sc2map — MapScript.galaxy:10371
}
else {
VictoryPanelAddCustomStatisticLine(StringExternal("Param/Value/66D7C0AE"), StringExternal(CatalogFieldValueGet(c_gameCatalogAbil, "PsionicLift", "Name", gv_pLAYER_01_USER)));
}
TextExpressionSetToken("Param/Expression/F40CB0C7", "A", IntToText(gv_s3_TramEnginesDestroyed));
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:1440
}
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
gv_overlord_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Overlord", "Tooltip", gv_pLAYER_01_USER);
gv_drone_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Drone", "Tooltip", gv_pLAYER_01_USER);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:1441
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
gv_overlord_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Overlord", "Tooltip", gv_pLAYER_01_USER);
gv_drone_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Drone", "Tooltip", gv_pLAYER_01_USER);
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:1442
gv_selectLarva_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Larva", "Tooltip", gv_pLAYER_01_USER);
gv_overlord_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Overlord", "Tooltip", gv_pLAYER_01_USER);
gv_drone_OriginalTooltip = CatalogFieldValueGet(c_gameCatalogButton, "Drone", "Tooltip", gv_pLAYER_01_USER);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zspace01.sc2map — MapScript.galaxy:649
}
else {
lv_amount = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, (UnitGetType(lp_unitKilled)), "CostResource[Minerals]", gv_pLAYER_01_USER));
}
if ((lv_amount <= 0)) {
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zstorykorhal.sc2map — MapScript.galaxy:151
while (auto8A275886_ai <= auto8A275886_ae) {
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/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:526
// Implementation
lv_fieldPath = (lp_field + "[" + IntToString((lp_index - 1)) + "]");
return CatalogFieldValueGet(lp_catalog, lp_entry, lv_fieldPath, lp_player);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:816
}
libSwaC_gf_ZS_SendTransmissionCampaignInternal(false, lp_unit, null, lv_sound, null, null, lp_durationType, lp_duration, lp_waitUntilDone, lp_keepPortraitVisible, lp_cueSoundOption, CatalogFieldValueGet(c_gameCatalogSound, ConversationDataGetSound(lp_conversationLine, true), "AssetArray[" + IntToString(0) + "].PortraitActor", c_playerAny));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1350
auto42E19D8A_ai = 1;
while (auto42E19D8A_ai <= auto42E19D8A_ae) {
lv_indexObjective = CatalogFieldValueGet(c_gameCatalogMap, libSwaC_gf_CurrentMap(), "ObjectiveArray["+IntToString(auto42E19D8A_ai-1)+"]", 1);
if ((libSwaC_gf_MissionObjectiveIsPrimary(lv_indexObjective) == false)) {
lv_finalProgress = libSwaC_gf_MissionObjectiveProgress(lv_indexObjective);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4416
Wait(0.25, c_timeGame);
}
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "A", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Name", c_playerAny)));
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "B", StringToText((lp_achievement)));
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "C", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", c_playerAny)));
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4418
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "A", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Name", c_playerAny)));
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "B", StringToText((lp_achievement)));
TextExpressionSetToken("Param/Expression/lib_SwaC_DCF14620", "C", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", c_playerAny)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_SwaC_DCF14620"), false);
DialogCreate(1000, 400, c_anchorRight, -200, (libSwaC_gv_zS_AchievementPosition + 200), true);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4429
DialogControlSetPosition(DialogControlLastCreated(), PlayerGroupAll(), c_anchorCenter, 0, 0);
DialogControlHookup(lv_panel, c_triggerControlTypeLabel, "NameLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Name", 1)), PlayerGroupAll());
DialogControlHookup(lv_panel, c_triggerControlTypeLabel, "DescriptionLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", 1)), PlayerGroupAll());
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4431
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Name", 1)), PlayerGroupAll());
DialogControlHookup(lv_panel, c_triggerControlTypeLabel, "DescriptionLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", 1)), PlayerGroupAll());
DialogControlHookup(lv_panel, c_triggerControlTypeImage, "IconImage");
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\ui_tipicon_story-archives.dds", PlayerGroupAll());
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4435
libNtve_gf_SetDialogItemImage(DialogControlLastCreated(), "Assets\\Textures\\ui_tipicon_story-archives.dds", PlayerGroupAll());
DialogControlHookup(lv_panel, c_triggerControlTypeLabel, "PointsLabel");
libNtve_gf_SetDialogItemText(DialogControlLastCreated(), StringToText(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Points", 1)), PlayerGroupAll());
libNtve_gf_CreateDialogItemLabel(lv_achievementDialog, 200, 50, c_anchorTop, 0, 100, StringExternal("Param/Value/lib_SwaC_D4EA7C13"), Color(100.00, 0.00, 0.00), false, 2.0);
DialogControlFadeTransparency(DialogControlLastCreated(), PlayerGroupAll(), 0.0, 60.0);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4732
}
return (CatalogFieldValueGet(c_gameCatalogMap, (lp_map), "LoadingImage", c_playerAny));
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:4783
}
return CatalogFieldValueGet(c_gameCatalogMap, (lp_map), "File", 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1110
string lib281DEC45_gf_ZSS_UITravelLocationProperty (int lp_planetIndex, string lp_field) {
// Implementation
return CatalogFieldValueGet(c_gameCatalogLocation, (lib281DEC45_gv_zSS_UITravelLocationLinks[lp_planetIndex]), lp_field, c_playerAny);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1180
else {
}
SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryAmbience, (CatalogFieldValueGet(c_gameCatalogLocation, (libSwaC_gf_StoryMapPlanet(lib281DEC45_gv_zSS_UITravelMaps[lp_planetIndex])), "AmbientSound", c_playerAny)), c_soundtrackCueAny, c_soundtrackIndexAny, false);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1344
int lib281DEC45_gf_ZSS_UITravelPlanetSortIndex (string lp_location) {
// Implementation
return UserDataGetInt("Planets", UserDataInstanceFromReference(CatalogFieldValueGet(c_gameCatalogLocation, lp_location, "UserReference", 1)), "SortIndex", 1);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1468
if ((libSwaC_gf_MissionArmyCategoryUnlocked(lv_indexMap) != null)) {
lv_unitFrameIndex += 1;
libNtve_gf_SetDialogItemUnitLink(lib281DEC45_gv_zSS_UITravelRewardUnit[lv_unitFrameIndex], (CatalogFieldValueGet(c_gameCatalogArmyCategory, libSwaC_gf_MissionArmyCategoryUnlocked(lv_indexMap), "Unit", c_playerAny)), PlayerGroupAll());
libNtve_gf_SetDialogItemCamera(lib281DEC45_gv_zSS_UITravelRewardUnit[lv_unitFrameIndex], libSwaC_gf_StoryArmyCategoryPlanetCamera(libSwaC_gf_MissionArmyCategoryUnlocked(lv_indexMap)), PlayerGroupAll());
libNtve_gf_SetDialogItemTeamColor(lib281DEC45_gv_zSS_UITravelRewardUnit[lv_unitFrameIndex], libNtve_gf_ConvertPlayerColorToColor(libSwaC_gf_CampaignKerriganZergPlayerColor()), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1529
lv_indexMap = (lib281DEC45_gf_ZSS_UITravelLocationProperty(lv_indexPlanet, ("MissionCategoryArray[" + IntToString((lv_index - 1)) + "].Map")));
if ((lv_indexMap != null) && (libSwaC_gf_MissionArmyCategoryUnlocked(lv_indexMap) != null)) {
libNtve_gf_PreloadUnit((CatalogFieldValueGet(c_gameCatalogArmyCategory, libSwaC_gf_MissionArmyCategoryUnlocked(lv_indexMap), "Unit", 1)), false);
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1642
DialogControlSetVisible(lib281DEC45_gv_zSS_MissionTechnologyText, PlayerGroupAll(), true);
DialogControlSetVisible(lib281DEC45_gv_zSS_MissionTechnologyTitle, PlayerGroupAll(), true);
libNtve_gf_SetDialogItemUnitLink(lib281DEC45_gv_zSS_MissionUnit, (CatalogFieldValueGet(c_gameCatalogArmyCategory, libSwaC_gf_MissionArmyCategoryUnlocked(lib281DEC45_gv_zSS_NextMission), "Unit", c_playerAny)), PlayerGroupAll());
libNtve_gf_SetDialogItemCamera(lib281DEC45_gv_zSS_MissionUnit, libSwaC_gf_StoryArmyCategoryPlanetCamera(libSwaC_gf_MissionArmyCategoryUnlocked(lib281DEC45_gv_zSS_NextMission)), PlayerGroupAll());
libNtve_gf_SetDialogItemTeamColor(lib281DEC45_gv_zSS_MissionUnit, libNtve_gf_ConvertPlayerColorToColor(libSwaC_gf_CampaignKerriganZergPlayerColor()), PlayerGroupAll());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1692
// Implementation
if ((libSwaC_gf_MissionArmyCategoryUnlocked(lib281DEC45_gv_zSS_NextMission) != null)) {
libNtve_gf_PreloadUnit((CatalogFieldValueGet(c_gameCatalogArmyCategory, libSwaC_gf_MissionArmyCategoryUnlocked(lib281DEC45_gv_zSS_NextMission), "Unit", c_playerAny)), false);
}
else {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1700
string lib281DEC45_gf_ZSS_UIMissionProperty (string lp_field) {
// Implementation
return CatalogFieldValueGet(c_gameCatalogMap, (lib281DEC45_gv_zSS_NextMission), lp_field, c_playerAny);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1705
string lib281DEC45_gf_ZSS_UIMissionBackgroundImage (string lp_mission) {
// Implementation
return (CatalogFieldValueGet(c_gameCatalogMap, lp_mission, "MissionBackgroundImage", 1));
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:1715
string lib281DEC45_gf_ZS_MapUserDataInstance (string lp_map) {
// Implementation
return UserDataInstanceFromReference(CatalogFieldValueGet(c_gameCatalogMap, (lp_map), "UserReference", 1));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/sc2tutorial.sc2map/MapScript.galaxy:1685
bool gf_UnitIsArmyUnit (unit lp_unit) {
// Implementation
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lp_unit), (("FlagArray[" + "ArmySelect" + "]")), c_playerAny) == "1")) {
return true;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur01.sc2map/MapScript.galaxy:377
// Automatic Variable Declarations
// Implementation
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lp_unit), (("FlagArray[" + "ArmySelect" + "]")), c_playerAny) == "1")) {
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/sc2tutorial.sc2map — MapScript.galaxy:1685
bool gf_UnitIsArmyUnit (unit lp_unit) {
// Implementation
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lp_unit), (("FlagArray[" + "ArmySelect" + "]")), c_playerAny) == "1")) {
return true;
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur01.sc2map — MapScript.galaxy:377
// Automatic Variable Declarations
// Implementation
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lp_unit), (("FlagArray[" + "ArmySelect" + "]")), c_playerAny) == "1")) {
return true;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:153
while (auto13D0B222_ai <= auto13D0B222_ae) {
lv_indexMission = libVoiC_gf_PC_MapDataFromUserDataInstance(UserDataInstance("Maps", auto13D0B222_ai));
if (lv_indexMission != null && CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
lv_indexArmyCategory = libVoiC_gf_MissionArmyCategoryUnlocked(lv_indexMission);
if ((lv_indexArmyCategory != null) && (libVoiC_gf_PC_ArmyCategoryUsedInUI(lv_indexArmyCategory) == true) && (libVoiC_gf_PC_DebugCampaignTechIsDupe(lv_indexMission, lv_indexArmyCategory) == false)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:181
autoAC56682B_ai = 1;
while (autoAC56682B_ai <= autoAC56682B_ae) {
lv_indexArmyUnit = CatalogFieldValueGet(c_gameCatalogArmyCategory, lv_indexArmyCategory, "ArmyUnitArray["+IntToString(autoAC56682B_ai-1)+"]", 1);
libNtve_gf_CreateDialogItemLabel(DialogLastCreated(), 150, 60, c_anchorTopLeft, lv_x, lv_y, libVoiC_gf_StoryArmyUnitName(lv_indexArmyUnit), Color(100.00, 100.00, 100.00), false, 2.0);
libNtve_gf_SetDialogItemStyle(DialogControlLastCreated(), "ModCenterSize16", PlayerGroupAll());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:611
while (auto4BF17532_ai <= auto4BF17532_ae) {
lv_indexMission = libVoiC_gf_PC_MapDataFromUserDataInstance(UserDataInstance("Maps", auto4BF17532_ai));
if (lv_indexMission != null && CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((lv_indexMission == lp_mission)) {
return false;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:767
while (autoF9C1F36E_ai <= autoF9C1F36E_ae) {
lv_indexMission = libVoiC_gf_PC_MapDataFromUserDataInstance(UserDataInstance("Maps", autoF9C1F36E_ai));
if (lv_indexMission != null && CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
lv_indexArc = libVoiC_gf_StoryMapPlanet(lv_indexMission);
if ((lv_indexArc == lv_currentArc)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:800
autoD1710475_ai = 1;
while (autoD1710475_ai <= autoD1710475_ae) {
lv_indexArmyUpgrade2 = CatalogFieldValueGet(c_gameCatalogArmyCategory, lv_indexArmyCategory, "ArmyUnitArray["+IntToString(autoD1710475_ai-1)+"]", 1);
libVoiC_gf_PC_SetArmyUnitState(lv_indexArmyUpgrade2, c_armyUnitStatePurchased);
break;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1087
lv_indexMission = CatalogEntryGet(c_gameCatalogMap, auto53276695_ai);
auto53276695_ai = auto53276695_ai + 1;
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((libVoiC_gf_PC_CampaignMapIsEpilogue(lv_indexMission) == true)) {
continue;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1381
autoE13612E9_ai = 1;
while (autoE13612E9_ai <= autoE13612E9_ae) {
lv_indexObjective = CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "ObjectiveArray["+IntToString(autoE13612E9_ai-1)+"]", 1);
autoE13612E9_ai = autoE13612E9_ai + 1;
if ((libVoiC_gf_MissionObjectiveIsPrimary(lv_indexObjective) == false)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1451
auto01D194A4_ai = 1;
while (auto01D194A4_ai <= auto01D194A4_ae) {
lv_indexObjective = CatalogFieldValueGet(c_gameCatalogMap, lv_arcMissions[lv_indexArc][lv_indexArcMission], "ObjectiveArray["+IntToString(auto01D194A4_ai-1)+"]", 1);
auto01D194A4_ai = auto01D194A4_ai + 1;
libVoiC_gf_PC_DebugProgressSetObjectiveProgress(lv_indexObjective);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1605
Wait(0.25, c_timeGame);
}
TextExpressionSetToken("Param/Expression/lib_VoiC_0C185A62", "A", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Name", c_playerAny)));
TextExpressionSetToken("Param/Expression/lib_VoiC_0C185A62", "B", StringToText((lp_achievement)));
TextExpressionSetToken("Param/Expression/lib_VoiC_0C185A62", "C", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", c_playerAny)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:1607
TextExpressionSetToken("Param/Expression/lib_VoiC_0C185A62", "A", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Name", c_playerAny)));
TextExpressionSetToken("Param/Expression/lib_VoiC_0C185A62", "B", StringToText((lp_achievement)));
TextExpressionSetToken("Param/Expression/lib_VoiC_0C185A62", "C", StringExternal(CatalogFieldValueGet(c_gameCatalogAchievement, lp_achievement, "Description", c_playerAny)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_VoiC_0C185A62"), false);
DialogCreate(1000, 400, c_anchorRight, -200, (libVoiC_gv_pC_AchievementPosition + 200), true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1191
auto29898FAE_ai = 1;
while (auto29898FAE_ai <= auto29898FAE_ae) {
lv_indexObjective = CatalogFieldValueGet(c_gameCatalogMap, libVoiC_gf_CurrentMap(), "ObjectiveArray["+IntToString(auto29898FAE_ai-1)+"]", 1);
auto29898FAE_ai = auto29898FAE_ai + 1;
if ((libVoiC_gf_MissionObjectiveIsPrimary(lv_indexObjective) == false)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1297
autoD74C5D59_ai = 1;
while (autoD74C5D59_ai <= autoD74C5D59_ae) {
lv_indexObjective = CatalogFieldValueGet(c_gameCatalogMap, libVoiC_gf_CurrentMap(), "ObjectiveArray["+IntToString(autoD74C5D59_ai-1)+"]", 1);
autoD74C5D59_ai = autoD74C5D59_ai + 1;
if ((libVoiC_gf_MissionObjectiveIsPrimary(lv_indexObjective) == false)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1327
autoA40095C7_ai = 1;
while (autoA40095C7_ai <= autoA40095C7_ae) {
lv_indexArmyUnit = CatalogFieldValueGet(c_gameCatalogArmyCategory, lv_indexArmyCategory, "ArmyUnitArray["+IntToString(autoA40095C7_ai-1)+"]", 1);
libVoiC_gf_PC_StatEventCreate("UnitStats");
libVoiC_gf_PC_StatEventAddStr("UnitID", (libVoiC_gf_PC_StoryArmyUnitUnitType(lv_indexArmyUnit)), libVoiC_gf_PC_StatEventLast());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:2749
}
libVCMI_gf_PM_SendTransmissionCampaignInternal(false, lp_unit, null, lv_sound, null, null, lp_durationType, lp_duration, lp_waitUntilDone, lp_keepPortraitVisible, lp_cueSoundOption, CatalogFieldValueGet(c_gameCatalogSound, ConversationDataGetSound(lp_conversationLine, true), "AssetArray[" + IntToString(0) + "].PortraitActor", c_playerAny));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3387
lv_indexResource = UnitGroupUnitFromEnd(autoEC5BF080_g, autoEC5BF080_u);
if (lv_indexResource == null) { break; }
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lv_indexResource), "ResourceType", c_playerAny) != "Minerals")) {
UnitGroupRemove(lv_mineralGroup, lv_indexResource);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3867
lv_indexResource = UnitGroupUnitFromEnd(auto7A456887_g, auto7A456887_u);
if (lv_indexResource == null) { break; }
if ((CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lv_indexResource), "ResourceType", c_playerAny) == "Minerals")) {
UnitGroupAdd(lv_resourceGroup, lv_indexResource);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3921
lv_buttonIndex = 0;
for ( ; ( (autoCD238B57_ai >= 0 && lv_buttonIndex <= autoCD238B57_ae) || (autoCD238B57_ai < 0 && lv_buttonIndex >= autoCD238B57_ae) ) ; lv_buttonIndex += autoCD238B57_ai ) {
if ((CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Face", c_playerAny) == (lp_abilityButton))) {
lv_row = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Row", c_playerAny));
lv_column = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Column", c_playerAny));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3922
for ( ; ( (autoCD238B57_ai >= 0 && lv_buttonIndex <= autoCD238B57_ae) || (autoCD238B57_ai < 0 && lv_buttonIndex >= autoCD238B57_ae) ) ; lv_buttonIndex += autoCD238B57_ai ) {
if ((CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Face", c_playerAny) == (lp_abilityButton))) {
lv_row = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Row", c_playerAny));
lv_column = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Column", c_playerAny));
TextExpressionSetToken("Param/Expression/lib_VCMI_7545F4E8", "UNIT", StringToText((lp_unitType)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:3923
if ((CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Face", c_playerAny) == (lp_abilityButton))) {
lv_row = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Row", c_playerAny));
lv_column = StringToInt(CatalogFieldValueGet(c_gameCatalogUnit, lp_unitType, "CardLayouts[" + IntToString(0) + "].LayoutButtons[" + IntToString(lv_buttonIndex) + "].Column", c_playerAny));
TextExpressionSetToken("Param/Expression/lib_VCMI_7545F4E8", "UNIT", StringToText((lp_unitType)));
TextExpressionSetToken("Param/Expression/lib_VCMI_7545F4E8", "BTN", StringToText((lp_abilityButton)));
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:7400
lv_used = PlayerGetPropertyFixed(1, c_playerPropSuppliesUsed);
lv_limit = PlayerGetPropertyFixed(1, c_playerPropSuppliesLimit);
if (((lv_made + (TechTreeUnitCount(1, "Pylon", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Pylon", "Food", 1)))) < lv_limit) && ((lv_made + (TechTreeUnitCount(1, "Pylon", c_techCountInProgressOnly) * StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, "Pylon", "Food", 1)))) <= ((lv_used + libVCMI_gv_pM_NeedPylonFoodRequired) - 0.1))) {
if ((libVCMI_gv_pM_NeedPylonAbilityHighlightOn == false)) {
if ((lv_transmissionDelivered == false)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:216
lv_indexGroup = 1;
for ( ; ( (autoF5938A13_ai >= 0 && lv_indexGroup <= autoF5938A13_ae) || (autoF5938A13_ai < 0 && lv_indexGroup >= autoF5938A13_ae) ) ; lv_indexGroup += autoF5938A13_ai ) {
lv_groupId = CatalogFieldValueGet(c_gameCatalogConversation, lv_conversation, "Groups[" + IntToString(lv_indexGroup) + "].Id", c_playerAny);
lv_passed = true;
auto8ADDF7C4_ae = (CatalogFieldValueCount(c_gameCatalogConversation, lv_conversation, "Groups", c_playerAny)-1);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:224
lv_indexChild = 0;
for ( ; ( (auto453FBC04_ai >= 0 && lv_indexChild <= auto453FBC04_ae) || (auto453FBC04_ai < 0 && lv_indexChild >= auto453FBC04_ae) ) ; lv_indexChild += auto453FBC04_ai ) {
if ((CatalogFieldValueGet(c_gameCatalogConversation, lv_conversation, "Groups[" + IntToString(lv_indexParentGroup) + "].Children[" + IntToString(lv_indexChild) + "]", c_playerAny) == lv_groupId)) {
lv_passed = false;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:362
lv_indexGroup = 0;
for ( ; ( (auto5153B48E_ai >= 0 && lv_indexGroup <= auto5153B48E_ae) || (auto5153B48E_ai < 0 && lv_indexGroup >= auto5153B48E_ae) ) ; lv_indexGroup += auto5153B48E_ai ) {
if ((CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Id", c_playerAny) == lp_groupID)) {
auto2CDBFF2F_ae = (CatalogFieldValueCount(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions", c_playerAny)-1);
lv_indexCondition = 0;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:366
lv_indexCondition = 0;
for ( ; ( (auto2CDBFF2F_ai >= 0 && lv_indexCondition <= auto2CDBFF2F_ae) || (auto2CDBFF2F_ai < 0 && lv_indexCondition >= auto2CDBFF2F_ae) ) ; lv_indexCondition += auto2CDBFF2F_ai ) {
lv_typeString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Type", c_playerAny);
lv_instanceString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Instance", c_playerAny);
lv_fieldString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Field", c_playerAny);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:367
for ( ; ( (auto2CDBFF2F_ai >= 0 && lv_indexCondition <= auto2CDBFF2F_ae) || (auto2CDBFF2F_ai < 0 && lv_indexCondition >= auto2CDBFF2F_ae) ) ; lv_indexCondition += auto2CDBFF2F_ai ) {
lv_typeString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Type", c_playerAny);
lv_instanceString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Instance", c_playerAny);
lv_fieldString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Field", c_playerAny);
lv_userType = (lv_typeString);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:368
lv_typeString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Type", c_playerAny);
lv_instanceString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Instance", c_playerAny);
lv_fieldString = CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].User.Field", c_playerAny);
lv_userType = (lv_typeString);
lv_userInstance = (lv_instanceString);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:375
lv_indexValue = DataTableGetInt(false, (lv_typeString + "." + lv_instanceString + "." + lv_fieldString));
for ( ; ( (auto8A407701_ai >= 0 && lv_indexValue <= auto8A407701_ae) || (auto8A407701_ai < 0 && lv_indexValue >= auto8A407701_ae) ) ; lv_indexValue += auto8A407701_ai ) {
if ((libVCST_gf_PS_DebugStoryConditionPassed(lv_typeString, lv_instanceString, lv_fieldString, "1", CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Operation", c_playerAny), CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Value", c_playerAny)) == true)) {
DataTableSetInt(false, (lv_typeString + "." + lv_instanceString + "." + lv_fieldString), UserDataGetInt(lv_userType, lv_userInstance, lv_userField, 1));
break;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:375
lv_indexValue = DataTableGetInt(false, (lv_typeString + "." + lv_instanceString + "." + lv_fieldString));
for ( ; ( (auto8A407701_ai >= 0 && lv_indexValue <= auto8A407701_ae) || (auto8A407701_ai < 0 && lv_indexValue >= auto8A407701_ae) ) ; lv_indexValue += auto8A407701_ai ) {
if ((libVCST_gf_PS_DebugStoryConditionPassed(lv_typeString, lv_instanceString, lv_fieldString, "1", CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Operation", c_playerAny), CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Conditions[" + IntToString(lv_indexCondition) + "].Value", c_playerAny)) == true)) {
DataTableSetInt(false, (lv_typeString + "." + lv_instanceString + "." + lv_fieldString), UserDataGetInt(lv_userType, lv_userInstance, lv_userField, 1));
break;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:388
lv_indexChild = 0;
for ( ; ( (auto6D6C6CD9_ai >= 0 && lv_indexChild <= auto6D6C6CD9_ae) || (auto6D6C6CD9_ai < 0 && lv_indexChild >= auto6D6C6CD9_ae) ) ; lv_indexChild += auto6D6C6CD9_ai ) {
if ((CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Children[" + IntToString(lv_indexChild) + "]", c_playerAny) == lp_groupID)) {
libVCST_gf_PS_DebugStoryCheatSetConditionRecursive(lp_conversationLink, CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Id", c_playerAny));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:389
for ( ; ( (auto6D6C6CD9_ai >= 0 && lv_indexChild <= auto6D6C6CD9_ae) || (auto6D6C6CD9_ai < 0 && lv_indexChild >= auto6D6C6CD9_ae) ) ; lv_indexChild += auto6D6C6CD9_ai ) {
if ((CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Children[" + IntToString(lv_indexChild) + "]", c_playerAny) == lp_groupID)) {
libVCST_gf_PS_DebugStoryCheatSetConditionRecursive(lp_conversationLink, CatalogFieldValueGet(c_gameCatalogConversation, lp_conversationLink, "Groups[" + IntToString(lv_indexGroup) + "].Id", c_playerAny));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignUILib.galaxy:728
auto364B23CB_ai = 1;
while (auto364B23CB_ai <= auto364B23CB_ae) {
lv_indexArmyUnit = CatalogFieldValueGet(c_gameCatalogArmyCategory, libVCUI_gv_pU_ArmyCategories[lv_categoryIndex], "ArmyUnitArray["+IntToString(auto364B23CB_ai-1)+"]", 1);
lv_unitIndex += 1;
libVCUI_gv_pU_ArmyUnits[lv_categoryIndex][lv_unitIndex] = lv_indexArmyUnit;