# Convert Boolean To Integer
Flags —
Native
|Function
Converts a boolean to 1 (true) or 0 (false).
# Arguments
bool
— Boolean
Returns — int
native int BoolToInt(bool f);
# Related
Category: Conversion / Basic Conversions
- Convert String To Text —
text
— StringToText - Convert Game Link To String
- Convert String To Game Link
- Convert String To Catalog Entry
- Convert String To Catalog Reference
- Convert String To Catalog Field Name
- Convert String To Catalog Field Path
- Convert String To Catalog Scope
- Convert Catalog Entry To String
- Convert Catalog Reference To String
- Convert Catalog Reference (Any -> Numeric)
- Convert Catalog Reference (Any -> Upgrade)
- Convert Catalog Reference (Upgrade -> Any)
- Convert Catalog Reference (Numeric -> Any)
- Convert Catalog Field Name To String
- Convert Catalog Field Path To String
- Convert Catalog Scope To String
- Convert String To Image File
- Convert String To Movie File
- Convert String To Cutscene File
- Convert Conversation State Index To String
- Convert String To Conversation State Index
- Convert User Data Instance To String
- Convert String To User Data Instance
- Convert String To Real —
fixed
— StringToFixed - Convert String To Integer —
int
— StringToInt - Convert String To Ability Command —
abilcmd
— StringToAbilCmd - Convert Real To Text —
text
— FixedToText - Convert Real To Text (Advanced) —
text
— FixedToTextAdvanced - Convert Real To String —
string
— FixedToString - Convert Real To Integer —
int
— FixedToInt - Convert Integer To Text —
text
— IntToText - Convert Integer To String —
string
— IntToString - Convert Integer To Real —
fixed
— IntToFixed - Convert Boolean To Text —
text
— libNtve_gf_ConvertBooleanToText - Convert Boolean To Integer —
int
— BoolToInt - Convert Boolean To String —
string
— libNtve_gf_ConvertBooleanToString - Convert String To Boolean —
bool
— libNtve_gf_ConvertStringToBoolean - Convert Point To String —
string
— libNtve_gf_ConvertPointToString - Convert String To Point —
point
— libNtve_gf_ConvertStringToPoint - Convert Image To String
- Convert Game User To Integer
- Format Number —
text
— FormatNumber - Format Duration —
text
— FormatDuration
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:633
auto49A2DDD7_g = UnitGroup(null, gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto49A2DDD7_u = 1;
for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
UnitKill(lv_pickedUnit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:642
auto6B9B76D8_g = UnitGroup(null, gv_p0_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto6B9B76D8_u = 1;
for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
lv_pickedUnit = UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u);
auto10272E13_ae = gv_powerupTypeCount;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2576
autoB7804980_g = gv_activeBackgroundUnits;
autoB7804980_u = 1;
for ( ; autoB7804980_u <= UnitGroupCount(autoB7804980_g, c_unitCountAll) ; autoB7804980_u += BoolToInt(lv_unit == UnitGroupUnit(autoB7804980_g, autoB7804980_u)) ) {
lv_unit = UnitGroupUnit(autoB7804980_g, autoB7804980_u);
UnitGroupRemove(gv_activeBackgroundUnits, lv_unit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2924
auto3F4C99E6_g = UnitGroup("SS_PowerupBomb", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto3F4C99E6_u = 1;
for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
lv_u = UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2930
auto1B6E7E41_g = UnitGroup("SS_PowerupHealth", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1B6E7E41_u = 1;
for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
lv_u = UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2936
autoE3A7849B_g = UnitGroup("SS_PowerupSideMissiles", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE3A7849B_u = 1;
for ( ; autoE3A7849B_u <= UnitGroupCount(autoE3A7849B_g, c_unitCountAll) ; autoE3A7849B_u += BoolToInt(lv_u == UnitGroupUnit(autoE3A7849B_g, autoE3A7849B_u)) ) {
lv_u = UnitGroupUnit(autoE3A7849B_g, autoE3A7849B_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:2942
auto5262DC05_g = UnitGroup("SS_PowerupStrongerMissiles", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto5262DC05_u = 1;
for ( ; auto5262DC05_u <= UnitGroupCount(auto5262DC05_g, c_unitCountAll) ; auto5262DC05_u += BoolToInt(lv_u == UnitGroupUnit(auto5262DC05_g, auto5262DC05_u)) ) {
lv_u = UnitGroupUnit(auto5262DC05_g, auto5262DC05_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4075
auto22B9CD29_g = gv_endCinematicGroup;
auto22B9CD29_u = 1;
for ( ; auto22B9CD29_u <= UnitGroupCount(auto22B9CD29_g, c_unitCountAll) ; auto22B9CD29_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto22B9CD29_g, auto22B9CD29_u)) ) {
lv_indexUnit = UnitGroupUnit(auto22B9CD29_g, auto22B9CD29_u);
libNtve_gf_PauseUnit(lv_indexUnit, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7352
auto77B05B4A_g = UnitGroup(null, gv_p0_NEUTRAL, RegionCircle(UnitGetPosition(gv_viking), 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto77B05B4A_u = 1;
for ( ; auto77B05B4A_u <= UnitGroupCount(auto77B05B4A_g, c_unitCountAll) ; auto77B05B4A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto77B05B4A_g, auto77B05B4A_u)) ) {
lv_indexUnit = UnitGroupUnit(auto77B05B4A_g, auto77B05B4A_u);
lv_unitType = UnitGetType(lv_indexUnit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:8650
auto08DD2036_g = gv_endCinematicGroup;
auto08DD2036_u = 1;
for ( ; auto08DD2036_u <= UnitGroupCount(auto08DD2036_g, c_unitCountAll) ; auto08DD2036_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto08DD2036_g, auto08DD2036_u)) ) {
lv_indexUnit = UnitGroupUnit(auto08DD2036_g, auto08DD2036_u);
libNtve_gf_PauseUnit(lv_indexUnit, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2386
auto5345FD8F_g = lp_whichClickables;
auto5345FD8F_u = 1;
for ( ; auto5345FD8F_u <= UnitGroupCount(auto5345FD8F_g, c_unitCountAll) ; auto5345FD8F_u += BoolToInt(lv_u == UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u)) ) {
lv_u = UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u);
gf_TurnClickableOnOff(lv_u, lp_desiredState);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2412
auto800FE0DA_g = lp_whichClickables;
auto800FE0DA_u = 1;
for ( ; auto800FE0DA_u <= UnitGroupCount(auto800FE0DA_g, c_unitCountAll) ; auto800FE0DA_u += BoolToInt(lv_u == UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u)) ) {
lv_u = UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u);
gf_TurnClickableOnNoCheck(lv_u);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2460
auto64A00279_g = gv_clickables;
auto64A00279_u = 1;
for ( ; auto64A00279_u <= UnitGroupCount(auto64A00279_g, c_unitCountAll) ; auto64A00279_u += BoolToInt(lv_u == UnitGroupUnit(auto64A00279_g, auto64A00279_u)) ) {
lv_u = UnitGroupUnit(auto64A00279_g, auto64A00279_u);
gf_SetUnitClickableLockCount(c_transmissionDurationSet, lv_u, 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:2557
autoF8BA0C0A_g = lp_units;
autoF8BA0C0A_u = 1;
for ( ; autoF8BA0C0A_u <= UnitGroupCount(autoF8BA0C0A_g, c_unitCountAll) ; autoF8BA0C0A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u)) ) {
lv_indexUnit = UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u);
gf_RemoveVisibleUnit(lp_addRemove, lv_indexUnit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3648
auto1645265F_g = lp_unitGroup;
auto1645265F_u = 1;
for ( ; auto1645265F_u <= UnitGroupCount(auto1645265F_g, c_unitCountAll) ; auto1645265F_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto1645265F_g, auto1645265F_u)) ) {
lv_indexUnit = UnitGroupUnit(auto1645265F_g, auto1645265F_u);
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:4299
autoE28B3249_g = gv_clickables;
autoE28B3249_u = 1;
for ( ; autoE28B3249_u <= UnitGroupCount(autoE28B3249_g, c_unitCountAll) ; autoE28B3249_u += BoolToInt(lv_hotspot == UnitGroupUnit(autoE28B3249_g, autoE28B3249_u)) ) {
lv_hotspot = UnitGroupUnit(autoE28B3249_g, autoE28B3249_u);
if ((gf_RoomIsEnabled(gf_GetUnitClickableRoom(lv_hotspot)) == true) && (gf_ActorID(lv_hotspot) == ge_ActorID_ActorNone)) {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:5148
auto75C0B0D3_g = lv_units;
auto75C0B0D3_u = 1;
for ( ; auto75C0B0D3_u <= UnitGroupCount(auto75C0B0D3_g, c_unitCountAll) ; auto75C0B0D3_u += BoolToInt(lv_unit == UnitGroupUnit(auto75C0B0D3_g, auto75C0B0D3_u)) ) {
lv_unit = UnitGroupUnit(auto75C0B0D3_g, auto75C0B0D3_u);
lv_output = (lv_output + StringToText((UnitGetType(lv_unit))) + StringExternal("Param/Value/3F38A323"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:7306
auto1D348EDD_g = gf_RoomUnits(lp_room);
auto1D348EDD_u = 1;
for ( ; auto1D348EDD_u <= UnitGroupCount(auto1D348EDD_g, c_unitCountAll) ; auto1D348EDD_u += BoolToInt(lv_unit == UnitGroupUnit(auto1D348EDD_g, auto1D348EDD_u)) ) {
lv_unit = UnitGroupUnit(auto1D348EDD_g, auto1D348EDD_u);
gf_PreloadUnitStoryMap(lv_unit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:7326
auto4D7FC978_g = lp_unitGroup;
auto4D7FC978_u = 1;
for ( ; auto4D7FC978_u <= UnitGroupCount(auto4D7FC978_g, c_unitCountAll) ; auto4D7FC978_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto4D7FC978_g, auto4D7FC978_u)) ) {
lv_indexUnit = UnitGroupUnit(auto4D7FC978_g, auto4D7FC978_u);
gf_PreloadUnitStoryMap(lv_indexUnit);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:8229
autoF63B25EA_g = gf_RoomUnits(lp_room);
autoF63B25EA_u = 1;
for ( ; autoF63B25EA_u <= UnitGroupCount(autoF63B25EA_g, c_unitCountAll) ; autoF63B25EA_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(autoF63B25EA_g, autoF63B25EA_u)) ) {
lv_pickedUnit = UnitGroupUnit(autoF63B25EA_g, autoF63B25EA_u);
UnitUnloadModel(lv_pickedUnit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:633
auto49A2DDD7_g = UnitGroup(null, gv_p2_ENEMY, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto49A2DDD7_u = 1;
for ( ; auto49A2DDD7_u <= UnitGroupCount(auto49A2DDD7_g, c_unitCountAll) ; auto49A2DDD7_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u)) ) {
lv_pickedUnit = UnitGroupUnit(auto49A2DDD7_g, auto49A2DDD7_u);
UnitKill(lv_pickedUnit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:642
auto6B9B76D8_g = UnitGroup(null, gv_p0_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto6B9B76D8_u = 1;
for ( ; auto6B9B76D8_u <= UnitGroupCount(auto6B9B76D8_g, c_unitCountAll) ; auto6B9B76D8_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u)) ) {
lv_pickedUnit = UnitGroupUnit(auto6B9B76D8_g, auto6B9B76D8_u);
auto10272E13_ae = gv_powerupTypeCount;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2576
autoB7804980_g = gv_activeBackgroundUnits;
autoB7804980_u = 1;
for ( ; autoB7804980_u <= UnitGroupCount(autoB7804980_g, c_unitCountAll) ; autoB7804980_u += BoolToInt(lv_unit == UnitGroupUnit(autoB7804980_g, autoB7804980_u)) ) {
lv_unit = UnitGroupUnit(autoB7804980_g, autoB7804980_u);
UnitGroupRemove(gv_activeBackgroundUnits, lv_unit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2924
auto3F4C99E6_g = UnitGroup("SS_PowerupBomb", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto3F4C99E6_u = 1;
for ( ; auto3F4C99E6_u <= UnitGroupCount(auto3F4C99E6_g, c_unitCountAll) ; auto3F4C99E6_u += BoolToInt(lv_u == UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u)) ) {
lv_u = UnitGroupUnit(auto3F4C99E6_g, auto3F4C99E6_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2930
auto1B6E7E41_g = UnitGroup("SS_PowerupHealth", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto1B6E7E41_u = 1;
for ( ; auto1B6E7E41_u <= UnitGroupCount(auto1B6E7E41_g, c_unitCountAll) ; auto1B6E7E41_u += BoolToInt(lv_u == UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u)) ) {
lv_u = UnitGroupUnit(auto1B6E7E41_g, auto1B6E7E41_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2936
autoE3A7849B_g = UnitGroup("SS_PowerupSideMissiles", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoE3A7849B_u = 1;
for ( ; autoE3A7849B_u <= UnitGroupCount(autoE3A7849B_g, c_unitCountAll) ; autoE3A7849B_u += BoolToInt(lv_u == UnitGroupUnit(autoE3A7849B_g, autoE3A7849B_u)) ) {
lv_u = UnitGroupUnit(autoE3A7849B_g, autoE3A7849B_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:2942
auto5262DC05_g = UnitGroup("SS_PowerupStrongerMissiles", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto5262DC05_u = 1;
for ( ; auto5262DC05_u <= UnitGroupCount(auto5262DC05_g, c_unitCountAll) ; auto5262DC05_u += BoolToInt(lv_u == UnitGroupUnit(auto5262DC05_g, auto5262DC05_u)) ) {
lv_u = UnitGroupUnit(auto5262DC05_g, auto5262DC05_u);
UnitRemove(lv_u);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:4075
auto22B9CD29_g = gv_endCinematicGroup;
auto22B9CD29_u = 1;
for ( ; auto22B9CD29_u <= UnitGroupCount(auto22B9CD29_g, c_unitCountAll) ; auto22B9CD29_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto22B9CD29_g, auto22B9CD29_u)) ) {
lv_indexUnit = UnitGroupUnit(auto22B9CD29_g, auto22B9CD29_u);
libNtve_gf_PauseUnit(lv_indexUnit, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:7352
auto77B05B4A_g = UnitGroup(null, gv_p0_NEUTRAL, RegionCircle(UnitGetPosition(gv_viking), 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto77B05B4A_u = 1;
for ( ; auto77B05B4A_u <= UnitGroupCount(auto77B05B4A_g, c_unitCountAll) ; auto77B05B4A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto77B05B4A_g, auto77B05B4A_u)) ) {
lv_indexUnit = UnitGroupUnit(auto77B05B4A_g, auto77B05B4A_u);
lv_unitType = UnitGetType(lv_indexUnit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:8650
auto08DD2036_g = gv_endCinematicGroup;
auto08DD2036_u = 1;
for ( ; auto08DD2036_u <= UnitGroupCount(auto08DD2036_g, c_unitCountAll) ; auto08DD2036_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto08DD2036_g, auto08DD2036_u)) ) {
lv_indexUnit = UnitGroupUnit(auto08DD2036_g, auto08DD2036_u);
libNtve_gf_PauseUnit(lv_indexUnit, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2386
auto5345FD8F_g = lp_whichClickables;
auto5345FD8F_u = 1;
for ( ; auto5345FD8F_u <= UnitGroupCount(auto5345FD8F_g, c_unitCountAll) ; auto5345FD8F_u += BoolToInt(lv_u == UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u)) ) {
lv_u = UnitGroupUnit(auto5345FD8F_g, auto5345FD8F_u);
gf_TurnClickableOnOff(lv_u, lp_desiredState);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2412
auto800FE0DA_g = lp_whichClickables;
auto800FE0DA_u = 1;
for ( ; auto800FE0DA_u <= UnitGroupCount(auto800FE0DA_g, c_unitCountAll) ; auto800FE0DA_u += BoolToInt(lv_u == UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u)) ) {
lv_u = UnitGroupUnit(auto800FE0DA_g, auto800FE0DA_u);
gf_TurnClickableOnNoCheck(lv_u);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2460
auto64A00279_g = gv_clickables;
auto64A00279_u = 1;
for ( ; auto64A00279_u <= UnitGroupCount(auto64A00279_g, c_unitCountAll) ; auto64A00279_u += BoolToInt(lv_u == UnitGroupUnit(auto64A00279_g, auto64A00279_u)) ) {
lv_u = UnitGroupUnit(auto64A00279_g, auto64A00279_u);
gf_SetUnitClickableLockCount(c_transmissionDurationSet, lv_u, 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:2557
autoF8BA0C0A_g = lp_units;
autoF8BA0C0A_u = 1;
for ( ; autoF8BA0C0A_u <= UnitGroupCount(autoF8BA0C0A_g, c_unitCountAll) ; autoF8BA0C0A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u)) ) {
lv_indexUnit = UnitGroupUnit(autoF8BA0C0A_g, autoF8BA0C0A_u);
gf_RemoveVisibleUnit(lp_addRemove, lv_indexUnit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:3648
auto1645265F_g = lp_unitGroup;
auto1645265F_u = 1;
for ( ; auto1645265F_u <= UnitGroupCount(auto1645265F_g, c_unitCountAll) ; auto1645265F_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto1645265F_g, auto1645265F_u)) ) {
lv_indexUnit = UnitGroupUnit(auto1645265F_g, auto1645265F_u);
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:4299
autoE28B3249_g = gv_clickables;
autoE28B3249_u = 1;
for ( ; autoE28B3249_u <= UnitGroupCount(autoE28B3249_g, c_unitCountAll) ; autoE28B3249_u += BoolToInt(lv_hotspot == UnitGroupUnit(autoE28B3249_g, autoE28B3249_u)) ) {
lv_hotspot = UnitGroupUnit(autoE28B3249_g, autoE28B3249_u);
if ((gf_RoomIsEnabled(gf_GetUnitClickableRoom(lv_hotspot)) == true) && (gf_ActorID(lv_hotspot) == ge_ActorID_ActorNone)) {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:5148
auto75C0B0D3_g = lv_units;
auto75C0B0D3_u = 1;
for ( ; auto75C0B0D3_u <= UnitGroupCount(auto75C0B0D3_g, c_unitCountAll) ; auto75C0B0D3_u += BoolToInt(lv_unit == UnitGroupUnit(auto75C0B0D3_g, auto75C0B0D3_u)) ) {
lv_unit = UnitGroupUnit(auto75C0B0D3_g, auto75C0B0D3_u);
lv_output = (lv_output + StringToText((UnitGetType(lv_unit))) + StringExternal("Param/Value/3F38A323"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:7306
auto1D348EDD_g = gf_RoomUnits(lp_room);
auto1D348EDD_u = 1;
for ( ; auto1D348EDD_u <= UnitGroupCount(auto1D348EDD_g, c_unitCountAll) ; auto1D348EDD_u += BoolToInt(lv_unit == UnitGroupUnit(auto1D348EDD_g, auto1D348EDD_u)) ) {
lv_unit = UnitGroupUnit(auto1D348EDD_g, auto1D348EDD_u);
gf_PreloadUnitStoryMap(lv_unit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:7326
auto4D7FC978_g = lp_unitGroup;
auto4D7FC978_u = 1;
for ( ; auto4D7FC978_u <= UnitGroupCount(auto4D7FC978_g, c_unitCountAll) ; auto4D7FC978_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto4D7FC978_g, auto4D7FC978_u)) ) {
lv_indexUnit = UnitGroupUnit(auto4D7FC978_g, auto4D7FC978_u);
gf_PreloadUnitStoryMap(lv_indexUnit);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:8229
autoF63B25EA_g = gf_RoomUnits(lp_room);
autoF63B25EA_u = 1;
for ( ; autoF63B25EA_u <= UnitGroupCount(autoF63B25EA_g, c_unitCountAll) ; autoF63B25EA_u += BoolToInt(lv_pickedUnit == UnitGroupUnit(autoF63B25EA_g, autoF63B25EA_u)) ) {
lv_pickedUnit = UnitGroupUnit(autoF63B25EA_g, autoF63B25EA_u);
UnitUnloadModel(lv_pickedUnit);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:6399
// Automatic Variable Declarations
// Implementation
UserDataSetInt("Planets", libSwaC_gf_ZS_PlanetUserData(lp_planet), "Available", 1, BoolToInt(lp_available));
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:299
autoD711EDC9_g = lib281DEC45_gv_zSS_PlanetSetUnits;
autoD711EDC9_u = 1;
for ( ; autoD711EDC9_u <= UnitGroupCount(autoD711EDC9_g, c_unitCountAll) ; autoD711EDC9_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoD711EDC9_g, autoD711EDC9_u)) ) {
lv_indexUnit = UnitGroupUnit(autoD711EDC9_g, autoD711EDC9_u);
UnitUnloadModel(lv_indexUnit);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:310
auto37E86738_g = lib281DEC45_gv_zSS_PlanetSetUnits;
auto37E86738_u = 1;
for ( ; auto37E86738_u <= UnitGroupCount(auto37E86738_g, c_unitCountAll) ; auto37E86738_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto37E86738_g, auto37E86738_u)) ) {
lv_indexUnit = UnitGroupUnit(auto37E86738_g, auto37E86738_u);
UnitLoadModel(lv_indexUnit);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:533
BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), UserDataGetInt("Character", lv_character, "Ambient", 1));
lv__SectionName = "CharacterNew";
BankValueSetFromInt(libSwaC_gf_StoryBank(), lv__SectionName, (lv_character), BoolToInt(lib281DEC45_gf_CharacterHasNewInfo(lv_character)));
auto7E4635CA_ai = auto7E4635CA_ai+1;
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2083
autoE1815EB8_g = lib281DEC45_gv_zSS_PlanetSetUnits;
autoE1815EB8_u = 1;
for ( ; autoE1815EB8_u <= UnitGroupCount(autoE1815EB8_g, c_unitCountAll) ; autoE1815EB8_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoE1815EB8_g, autoE1815EB8_u)) ) {
lv_indexUnit = UnitGroupUnit(autoE1815EB8_g, autoE1815EB8_u);
UnitUnloadModel(lv_indexUnit);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2109
auto4D646238_g = lib281DEC45_gv_zSS_PlanetSetUnits;
auto4D646238_u = 1;
for ( ; auto4D646238_u <= UnitGroupCount(auto4D646238_g, c_unitCountAll) ; auto4D646238_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto4D646238_g, auto4D646238_u)) ) {
lv_indexUnit = UnitGroupUnit(auto4D646238_g, auto4D646238_u);
UnitLoadModel(lv_indexUnit);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2557
autoBF1D72FD_g = lib281DEC45_gv_zSS_VisibleUnits;
autoBF1D72FD_u = 1;
for ( ; autoBF1D72FD_u <= UnitGroupCount(autoBF1D72FD_g, c_unitCountAll) ; autoBF1D72FD_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoBF1D72FD_g, autoBF1D72FD_u)) ) {
lv_indexUnit = UnitGroupUnit(autoBF1D72FD_g, autoBF1D72FD_u);
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == true) && (lp_showHide == true)) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2664
auto2FA83878_g = lib281DEC45_gv_zSS_PlanetSetUnits;
auto2FA83878_u = 1;
for ( ; auto2FA83878_u <= UnitGroupCount(auto2FA83878_g, c_unitCountAll) ; auto2FA83878_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto2FA83878_g, auto2FA83878_u)) ) {
lv_indexUnit = UnitGroupUnit(auto2FA83878_g, auto2FA83878_u);
lib281DEC45_gf_ShowHideUnitAbs(lp_showHide, lv_indexUnit);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2692
auto665EA1FF_g = lib281DEC45_gv_zSS_PlanetSetUnits;
auto665EA1FF_u = 1;
for ( ; auto665EA1FF_u <= UnitGroupCount(auto665EA1FF_g, c_unitCountAll) ; auto665EA1FF_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto665EA1FF_g, auto665EA1FF_u)) ) {
lv_indexUnit = UnitGroupUnit(auto665EA1FF_g, auto665EA1FF_u);
if ((lv_indexUnit != lib281DEC45_gf_CharacterUnit("Evolution Master")) && (lv_indexUnit != lib281DEC45_gf_CharacterUnit("Kerrigan"))) {
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2709
auto53373C7C_g = lib281DEC45_gv_zSS_PlanetSetUnits;
auto53373C7C_u = 1;
for ( ; auto53373C7C_u <= UnitGroupCount(auto53373C7C_g, c_unitCountAll) ; auto53373C7C_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto53373C7C_g, auto53373C7C_u)) ) {
lv_indexUnit = UnitGroupUnit(auto53373C7C_g, auto53373C7C_u);
libNtve_gf_SendActorMessageToUnit(lv_indexUnit, "AnimSetTime ::GL_BSD");
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:4734
void lib281DEC45_gf_SetCharacterNew (string lp_character, bool lp_isNew) {
// Implementation
UserDataSetInt("Character", lp_character, "New", 1, BoolToInt(lp_isNew));
lib281DEC45_gf_ZSS_CharacterDisplayUpdate(lp_character);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:2023
// Automatic Variable Declarations
// Implementation
UserDataSetInt("Locations", libVoiC_gf_PC_LocationUserData(lp_planet), "Available", 1, BoolToInt(lp_available));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:4825
// Automatic Variable Declarations
// Implementation
UserDataSetInt("TechUnit", libVoiC_gf_PC_TechUnitOfArmyCategory(lp_armyCategory), "IsNew", 1, BoolToInt(lp_shown));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:5187
// Automatic Variable Declarations
// Implementation
UserDataSetInt("TechUnit", libVoiC_gf_PC_TechUnitOfArmyUnit(lp_armyUnit), "IsNew", 1, BoolToInt(lp_new));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:746
BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), UserDataGetInt("Clickable", lv_indexClickable, "Type", 1));
lv__SectionName = "CharacterNew";
BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), BoolToInt(libVCST_gf_PS_ClickableIsNew(lv_indexClickable)));
auto741B8B93_ai = auto741B8B93_ai+1;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2881
// Automatic Variable Declarations
// Implementation
UserDataSetInt("AmbientScenes", lp_ambientScene, "ContinuousSceneIsPlaying", 1, BoolToInt(lp_isPlaying));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:4122
// Automatic Variable Declarations
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "Background", 1, BoolToInt(lp_background));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:4128
// Automatic Variable Declarations
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "New", 1, BoolToInt(lp_isNew));
libVCST_gf_PS_ClickableDisplayUpdate(lp_clickableInstance);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:4135
// Automatic Variable Declarations
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "Enabled", 1, BoolToInt((lp_enabledDisabled == true)));
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:4180
// Automatic Variable Declarations
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "IsVisibleOnSet", 1, BoolToInt(lp_isVisibleOnSet));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1021
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("SoundSetMuted", IntToString(BoolToInt(lp_mutedState)), IntToString(BoolToInt(lp_fade)));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1021
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("SoundSetMuted", IntToString(BoolToInt(lp_mutedState)), IntToString(BoolToInt(lp_fade)));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1033
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("SoundSetPaused", IntToString(BoolToInt(lp_pausedState)), IntToString(BoolToInt(lp_fade)));
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:1033
// Automatic Variable Declarations
// Implementation
return libNtve_gf_ActorMsg2("SoundSetPaused", IntToString(BoolToInt(lp_pausedState)), IntToString(BoolToInt(lp_fade)));
}
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:466
auto993E03F9_g = PlayerGroupActive();
auto993E03F9_p = 1;
for ( ; auto993E03F9_p <= PlayerGroupCount(auto993E03F9_g) ; auto993E03F9_p += BoolToInt(lv_i == PlayerGroupPlayer(auto993E03F9_g, auto993E03F9_p)) ) {
lv_i = PlayerGroupPlayer(auto993E03F9_g, auto993E03F9_p);
if (((PlayerStatus(lv_i) == c_playerStatusActive) && (PlayerType(lv_i) == c_playerTypeUser))) {
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:897
auto307151DA_g = PlayerGroupActive();
auto307151DA_p = 1;
for ( ; auto307151DA_p <= PlayerGroupCount(auto307151DA_g) ; auto307151DA_p += BoolToInt(lv_i == PlayerGroupPlayer(auto307151DA_g, auto307151DA_p)) ) {
lv_i = PlayerGroupPlayer(auto307151DA_g, auto307151DA_p);
if (((lib6CB3363F_gv_fT_GameReady[lv_i] == false) && (PlayerStatus(lv_i) == c_playerStatusActive) && (PlayerType(lv_i) == c_playerTypeUser))) {
mods/frontiers.sc2mod — base.sc2data/Lib6CB3363F.galaxy:908
autoB533AD6E_g = PlayerGroupActive();
autoB533AD6E_p = 1;
for ( ; autoB533AD6E_p <= PlayerGroupCount(autoB533AD6E_g) ; autoB533AD6E_p += BoolToInt(lv_i == PlayerGroupPlayer(autoB533AD6E_g, autoB533AD6E_p)) ) {
lv_i = PlayerGroupPlayer(autoB533AD6E_g, autoB533AD6E_p);
if (((PlayerStatus(lv_i) == c_playerStatusActive) && (PlayerType(lv_i) == c_playerTypeUser))) {
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:494
void libComC_gf_CC_LocationAvailabilitySet (string lp_planet, bool lp_available) {
// Implementation
UserDataSetInt("Locations", libComC_gf_CC_LocationUserData(lp_planet), "Available", 1, BoolToInt(lp_available));
}
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:2386
void libComC_gf_CC_ArmyUnitSetNew (string lp_armyUnit, bool lp_new) {
// Implementation
UserDataSetInt("TechUnit", libComC_gf_NC_TechUnitOfArmyUnit(lp_armyUnit), "IsNew", 1, BoolToInt(lp_new));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:618
auto5ADAA0AD_g = UnitGroupFilter(null, c_playerAny, UnitGroupFilterRegion(libNCMI_gv_nM_StealthAI_EnemyUnitGroup, lv_defendRegion, 0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto5ADAA0AD_u = 1;
for ( ; auto5ADAA0AD_u <= UnitGroupCount(auto5ADAA0AD_g, c_unitCountAll) ; auto5ADAA0AD_u += BoolToInt(lv_enemyUnitGroupIter == UnitGroupUnit(auto5ADAA0AD_g, auto5ADAA0AD_u)) ) {
lv_enemyUnitGroupIter = UnitGroupUnit(auto5ADAA0AD_g, auto5ADAA0AD_u);
if ((DistanceBetweenPoints(UnitGetPosition(lv_defendingUnit), UnitGetPosition(lv_enemyUnitGroupIter)) <= (StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lv_defendingUnit), "Radius", c_playerAny)) + StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "DOMEMP", "Range[" + IntToString(0) + "]", c_playerAny)))) && ((UnitGetType(lv_enemyUnitGroupIter) == "NovaHoloDecoy") || (UnitHasBehavior2(lv_enemyUnitGroupIter, "DetectorConeDetected") == true) || ((libNtve_gf_UnitIsVisibleToPlayer(lv_enemyUnitGroupIter, UnitGetOwner(lv_defendingUnit)) == true) && (UnitTestState(lv_enemyUnitGroupIter, c_unitStateCloaked) == true)))) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:635
autoD087C6AB_g = UnitGroupFilter(null, c_playerAny, UnitGroupFilterRegion(libNCMI_gv_nM_StealthAI_EnemyUnitGroup, lv_defendRegion, 0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoD087C6AB_u = 1;
for ( ; autoD087C6AB_u <= UnitGroupCount(autoD087C6AB_g, c_unitCountAll) ; autoD087C6AB_u += BoolToInt(lv_enemyUnitGroupIter == UnitGroupUnit(autoD087C6AB_g, autoD087C6AB_u)) ) {
lv_enemyUnitGroupIter = UnitGroupUnit(autoD087C6AB_g, autoD087C6AB_u);
if ((DistanceBetweenPoints(UnitGetPosition(lv_defendingUnit), UnitGetPosition(lv_enemyUnitGroupIter)) <= (StringToFixed(CatalogFieldValueGet(c_gameCatalogUnit, UnitGetType(lv_defendingUnit), "Radius", c_playerAny)) + StringToFixed(CatalogFieldValueGet(c_gameCatalogAbil, "SonarDroneEMP", "Range[" + IntToString(0) + "]", c_playerAny)))) && ((UnitGetType(lv_enemyUnitGroupIter) == "NovaHoloDecoy") || (UnitHasBehavior2(lv_enemyUnitGroupIter, "NovaSonarPingDetected") == true) || ((libNtve_gf_UnitIsVisibleToPlayer(lv_enemyUnitGroupIter, UnitGetOwner(lv_defendingUnit)) == true) && (UnitTestState(lv_enemyUnitGroupIter, c_unitStateCloaked) == true)))) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:652
auto2D3EF93F_g = UnitGroupFilter(null, c_playerAny, UnitGroupFilterRegion(libNCMI_gv_nM_StealthAI_EnemyUnitGroup, lv_defendRegion, 0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto2D3EF93F_u = 1;
for ( ; auto2D3EF93F_u <= UnitGroupCount(auto2D3EF93F_g, c_unitCountAll) ; auto2D3EF93F_u += BoolToInt(lv_enemyUnitGroupIter == UnitGroupUnit(auto2D3EF93F_g, auto2D3EF93F_u)) ) {
lv_enemyUnitGroupIter = UnitGroupUnit(auto2D3EF93F_g, auto2D3EF93F_u);
if ((DistanceBetweenPoints(UnitGetPosition(lv_defendingUnit), UnitGetPosition(lv_enemyUnitGroupIter)) <= StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "NovaAlarmBotAuraSearch", "AreaArray[" + IntToString(0) + "].Radius", c_playerAny))) && ((libNtve_gf_UnitIsVisibleToPlayer(lv_enemyUnitGroupIter, UnitGetOwner(lv_defendingUnit)) == true) || (UnitHasBehavior2(lv_enemyUnitGroupIter, "NovaSonarPingDetected") == true))) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:669
autoC958FC29_g = UnitGroupFilter(null, c_playerAny, UnitGroupFilterRegion(libNCMI_gv_nM_StealthAI_EnemyUnitGroup, lv_defendRegion, 0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
autoC958FC29_u = 1;
for ( ; autoC958FC29_u <= UnitGroupCount(autoC958FC29_g, c_unitCountAll) ; autoC958FC29_u += BoolToInt(lv_enemyUnitGroupIter == UnitGroupUnit(autoC958FC29_g, autoC958FC29_u)) ) {
lv_enemyUnitGroupIter = UnitGroupUnit(autoC958FC29_g, autoC958FC29_u);
if ((UnitHasBehavior2(lv_enemyUnitGroupIter, "DetectorConeDetected") == true)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:1455
auto3CF37BD8_g = UnitGroupFilter(null, c_playerAny, UnitGroupFilterRegion(libNCMI_gv_nM_StealthAI_EnemyUnitGroup, libNCMI_gf_StealthAIGetDefendRegionOfUnit(lp_gunTurretUnit), 0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
auto3CF37BD8_u = 1;
for ( ; auto3CF37BD8_u <= UnitGroupCount(auto3CF37BD8_g, c_unitCountAll) ; auto3CF37BD8_u += BoolToInt(lv_enemyUnitGroupIter == UnitGroupUnit(auto3CF37BD8_g, auto3CF37BD8_u)) ) {
lv_enemyUnitGroupIter = UnitGroupUnit(auto3CF37BD8_g, auto3CF37BD8_u);
if ((UnitHasBehavior2(lv_enemyUnitGroupIter, "DetectorConeDetected") == true)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:1651
auto7FAFEA5B_g = lv_viableEnemyTargets;
auto7FAFEA5B_u = 1;
for ( ; auto7FAFEA5B_u <= UnitGroupCount(auto7FAFEA5B_g, c_unitCountAll) ; auto7FAFEA5B_u += BoolToInt(lv_enemyUnitGroupIter == UnitGroupUnit(auto7FAFEA5B_g, auto7FAFEA5B_u)) ) {
lv_enemyUnitGroupIter = UnitGroupUnit(auto7FAFEA5B_g, auto7FAFEA5B_u);
if ((UnitIsAlive(lp_droneUnit) == true) && ((DistanceBetweenPoints(UnitGetPosition(lp_droneUnit), UnitGetPosition(lv_enemyUnitGroupIter)) > StringToFixed(CatalogFieldValueGet(c_gameCatalogEffect, "NovaAlarmBotAuraSearch", "AreaArray[" + IntToString(0) + "].Radius", c_playerAny))) || ((libNtve_gf_UnitIsVisibleToPlayer(lv_enemyUnitGroupIter, UnitGetOwner(lp_droneUnit)) == false) && (UnitHasBehavior2(lv_enemyUnitGroupIter, "NovaSonarPingDetected") == false)))) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:1771
autoEDCAAF8F_g = lp_players;
autoEDCAAF8F_p = 1;
for ( ; autoEDCAAF8F_p <= PlayerGroupCount(autoEDCAAF8F_g) ; autoEDCAAF8F_p += BoolToInt(lv_playerIndex == PlayerGroupPlayer(autoEDCAAF8F_g, autoEDCAAF8F_p)) ) {
lv_playerIndex = PlayerGroupPlayer(autoEDCAAF8F_g, autoEDCAAF8F_p);
if ((libNtve_gf_PlayerInCinematicMode(lv_playerIndex) == true)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:2667
auto59F7820C_g = lv_townHallGroup;
auto59F7820C_u = 1;
for ( ; auto59F7820C_u <= UnitGroupCount(auto59F7820C_g, c_unitCountAll) ; auto59F7820C_u += BoolToInt(lv_indexTownHall == UnitGroupUnit(auto59F7820C_g, auto59F7820C_u)) ) {
lv_indexTownHall = UnitGroupUnit(auto59F7820C_g, auto59F7820C_u);
if ((DistanceBetweenPoints(PlayerStartLocation(lp_player), UnitGetPosition(lv_indexTownHall)) < lv_distance)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:2777
autoDF48CB2F_g = PlayerGroupAll();
autoDF48CB2F_p = 1;
for ( ; autoDF48CB2F_p <= PlayerGroupCount(autoDF48CB2F_g) ; autoDF48CB2F_p += BoolToInt(lv_indexPlayer == PlayerGroupPlayer(autoDF48CB2F_g, autoDF48CB2F_p)) ) {
lv_indexPlayer = PlayerGroupPlayer(autoDF48CB2F_g, autoDF48CB2F_p);
if ((PlayerType(lv_indexPlayer) == c_playerTypeComputer)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:2856
autoE1FC9780_g = lp_players;
autoE1FC9780_p = 1;
for ( ; autoE1FC9780_p <= PlayerGroupCount(autoE1FC9780_g) ; autoE1FC9780_p += BoolToInt(lv_indexPlayer1 == PlayerGroupPlayer(autoE1FC9780_g, autoE1FC9780_p)) ) {
lv_indexPlayer1 = PlayerGroupPlayer(autoE1FC9780_g, autoE1FC9780_p);
auto201B96D5_g = lp_players;
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:659
BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), UserDataGetInt("Clickable", lv_indexClickable, "Type", 1));
lv__SectionName = "CharacterNew";
BankValueSetFromInt(lv_storyBank, lv__SectionName, (lv_indexClickable), BoolToInt(libNCST_gf_NS_ClickableIsNew(lv_indexClickable)));
auto741B8B93_ai = auto741B8B93_ai+1;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1038
auto4254474A_g = libNCST_gv_nS_VisibleUnits;
auto4254474A_u = 1;
for ( ; auto4254474A_u <= UnitGroupCount(auto4254474A_g, c_unitCountAll) ; auto4254474A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto4254474A_g, auto4254474A_u)) ) {
lv_indexUnit = UnitGroupUnit(auto4254474A_g, auto4254474A_u);
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == true) && (libNCST_gf_NS_RoomHasUnit(libNCST_gf_CurrentRoom(), lv_indexUnit) == true) && (lp_showHide == true)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1786
auto300770A4_g = libNCST_gv_nS_RoomUnits[(lp_room)];
auto300770A4_u = 1;
for ( ; auto300770A4_u <= UnitGroupCount(auto300770A4_g, c_unitCountAll) ; auto300770A4_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto300770A4_g, auto300770A4_u)) ) {
lv_indexUnit = UnitGroupUnit(auto300770A4_g, auto300770A4_u);
libNCST_gf_AddRemoveUnitForRoom(false, lv_indexUnit, lp_room);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1933
auto8F428406_g = libNCST_gv_nS_RoomUnits[(libNCST_gv_nS_CurrentRoom)];
auto8F428406_u = 1;
for ( ; auto8F428406_u <= UnitGroupCount(auto8F428406_g, c_unitCountAll) ; auto8F428406_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto8F428406_g, auto8F428406_u)) ) {
lv_indexUnit = UnitGroupUnit(auto8F428406_g, auto8F428406_u);
if ((UnitGroupHasUnit(libNCST_gv_nS_RoomUnits[(libNCST_gv_nS_LastRoom)], lv_indexUnit) == false)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1942
auto4BA2BDE2_g = libNCST_gv_nS_RoomUnits[(libNCST_gv_nS_LastRoom)];
auto4BA2BDE2_u = 1;
for ( ; auto4BA2BDE2_u <= UnitGroupCount(auto4BA2BDE2_g, c_unitCountAll) ; auto4BA2BDE2_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto4BA2BDE2_g, auto4BA2BDE2_u)) ) {
lv_indexUnit = UnitGroupUnit(auto4BA2BDE2_g, auto4BA2BDE2_u);
if ((UnitGroupHasUnit(libNCST_gv_nS_RoomUnits[(libNCST_gv_nS_CurrentRoom)], lv_indexUnit) == false)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1965
autoB1C4E56F_g = libNCST_gv_nS_VisibleUnits;
autoB1C4E56F_u = 1;
for ( ; autoB1C4E56F_u <= UnitGroupCount(autoB1C4E56F_g, c_unitCountAll) ; autoB1C4E56F_u += BoolToInt(lv_indexUnit == UnitGroupUnit(autoB1C4E56F_g, autoB1C4E56F_u)) ) {
lv_indexUnit = UnitGroupUnit(autoB1C4E56F_g, autoB1C4E56F_u);
if ((libNCST_gf_NS_RoomHasUnit(libNCST_gv_nS_CurrentRoom, lv_indexUnit) == true)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:2529
void libNCST_gf_NS_AmbientSceneSetContinuousScenePlaying (string lp_ambientScene, bool lp_isPlaying) {
// Implementation
UserDataSetInt("AmbientScenes", lp_ambientScene, "ContinuousSceneIsPlaying", 1, BoolToInt(lp_isPlaying));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:3495
void libNCST_gf_ClickableToggleBackground (string lp_clickableInstance, bool lp_background) {
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "Background", 1, BoolToInt(lp_background));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:3500
void libNCST_gf_ClickableSetNew (string lp_clickableInstance, bool lp_isNew) {
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "New", 1, BoolToInt(lp_isNew));
libNCST_gf_NS_ClickableDisplayUpdate(lp_clickableInstance);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:3506
void libNCST_gf_ClickableSetEnabled (string lp_clickableInstance, bool lp_enabledDisabled) {
// Implementation
UserDataSetInt("Clickable", lp_clickableInstance, "Enabled", 1, BoolToInt((lp_enabledDisabled == true)));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1493
void libNovC_gf_NC_ArmyTechItemIsNewSetFromIndex (string lp_techItem, int lp_unitIndex, bool lp_isNewStatus) {
// Implementation
UserDataSetInt("CampaignTechItem", lp_techItem, "IsNewList", lp_unitIndex, BoolToInt(lp_isNewStatus));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:1873
void libNovC_gf_NC_PerkIsNewSet (string lp_campaignPerk, bool lp_isNewState) {
// Implementation
UserDataSetInt("CampaignPerk", lp_campaignPerk, "IsNew", 1, BoolToInt(lp_isNewState));
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2242
auto015E2278_g = PlayerGroupAll();
auto015E2278_p = 1;
for ( ; auto015E2278_p <= PlayerGroupCount(auto015E2278_g) ; auto015E2278_p += BoolToInt(lv_indexPlayer == PlayerGroupPlayer(auto015E2278_g, auto015E2278_p)) ) {
lv_indexPlayer = PlayerGroupPlayer(auto015E2278_g, auto015E2278_p);
if ((PlayerType(lv_indexPlayer) != c_playerTypeUser)) {
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2258
auto8236ADDB_g = PlayerGroupAll();
auto8236ADDB_p = 1;
for ( ; auto8236ADDB_p <= PlayerGroupCount(auto8236ADDB_g) ; auto8236ADDB_p += BoolToInt(lv_indexPlayer == PlayerGroupPlayer(auto8236ADDB_g, auto8236ADDB_p)) ) {
lv_indexPlayer = PlayerGroupPlayer(auto8236ADDB_g, auto8236ADDB_p);
PlayerSetState(lv_indexPlayer, c_playerStateContinueEnabled, false);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:3535
autoE98657EB_u = lp_parent;
autoE98657EB_i = 1;
for ( ; autoE98657EB_i <= UnitBehaviorCountAll(autoE98657EB_u) ; autoE98657EB_i += BoolToInt(lv_b == UnitBehaviorGet(autoE98657EB_u, autoE98657EB_i)) ) {
lv_b = UnitBehaviorGet(autoE98657EB_u, autoE98657EB_i);
lv_bstackcount = UnitBehaviorCount(lp_parent, lv_b);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:3145
// Automatic Variable Declarations
// Implementation
UserDataSetInt("TechUnit", libCOOC_gf_CC_TechUnitOfArmyUnit(lp_armyUnit), "IsNew", 1, BoolToInt(lp_new));
}
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:1349
auto37CC6DB9_u = lv_u;
auto37CC6DB9_i = 1;
for ( ; auto37CC6DB9_i <= UnitBehaviorCountAll(auto37CC6DB9_u) ; auto37CC6DB9_i += BoolToInt(lv_itBehavior == UnitBehaviorGet(auto37CC6DB9_u, auto37CC6DB9_i)) ) {
lv_itBehavior = UnitBehaviorGet(auto37CC6DB9_u, auto37CC6DB9_i);
if ((CatalogEntryScope(c_gameCatalogBehavior, lv_itBehavior) == "CBehaviorUnitTracker")) {