# Unit Is Hidden
Grammar — u is hidden
Flags —Function
Returns true if a unit is hidden.
# Arguments
unit
— Unit
Returns — bool
bool libNtve_gf_UnitIsHidden(unit lp_u);
# Related
Category: Unit / Basic
- Unit Show Kill Display —
void
— UnitShowKillDisplay - Unit Can Path To Point —
bool
— UnitPathableToPoint - Unit Can Path To Unit —
bool
— UnitPathableToUnit - Create Units With Default Facing —
void
— libNtve_gf_CreateUnitsWithDefaultFacing - Create Units With Point Facing —
void
— libNtve_gf_CreateUnitsAtPoint2 - Create Units Facing Angle —
unitgroup
— UnitCreate - Create Units Facing Point —
unitgroup
— libNtve_gf_UnitCreateFacingPoint - Last Created Unit —
unit
— UnitLastCreated - Last Created Units —
unitgroup
— UnitLastCreatedGroup - Original Caster Of Unit —
unit
— UnitGetOriginalCaster - Effect That Created Unit —
string
<gamelink::Effect> — UnitGetOriginalEffect - Replace Unit —
void
— libNtve_gf_ReplaceUnit - Last Replaced Unit —
unit
— libNtve_gf_LastReplacedUnit - Change Owner —
void
— UnitSetOwner - Unit Owner Changes —
void
— TriggerAddEventUnitChangeOwner - Old Unit Owner —
int
— EventUnitOwnerOld - New Unit Owner —
int
— EventUnitOwnerNew - Rescue Unit —
void
— libNtve_gf_RescueUnit - Rescue Unit Group —
void
— libNtve_gf_RescueUnit2 - Kill Unit —
void
— UnitKill - Revive Unit —
void
— UnitRevive - Remove Unit —
void
— UnitRemove - Owner Of Unit —
int
— UnitGetOwner - Unit Is Alive —
bool
— UnitIsAlive - Unit Is Valid —
bool
— UnitIsValid - Unit Group Is Dead —
bool
— libNtve_gf_UnitGroupIsDead - Move Unit Instantly —
void
— UnitSetPosition - Make Unit Face Angle —
void
— UnitSetFacing - Make Unit Face Point —
void
— libNtve_gf_MakeUnitFacePoint - Position Of Unit —
point
— UnitGetPosition - Goal Position Of Unit —
point
— UnitGetGoalPosition - Facing Angle Of Unit —
fixed
— UnitGetFacing - Pause/Unpause Unit —
void
— libNtve_gf_PauseUnit - Pause/Unpause All Units —
void
— UnitPauseAll - Sleep/WakeUp Unit —
void
— libNtve_gf_SleepUnit - Show/Hide Unit —
void
— libNtve_gf_ShowHideUnit - Share Vision of Unit —
void
— libNtve_gf_ShareVisionofUnit - Unit Is Paused —
bool
— libNtve_gf_UnitIsPaused - Unit Is Sleepiing —
bool
— libNtve_gf_UnitIsSleepiing - Unit Is Hidden —
bool
— libNtve_gf_UnitIsHidden - Unit Is Visible To Player —
bool
— libNtve_gf_UnitIsVisibleToPlayer - Set Unit Custom Value —
void
— UnitSetCustomValue - Custom Value Of Unit —
fixed
— UnitGetCustomValue - Unit Enters/Leaves Region —
void
— TriggerAddEventUnitRegion - Triggering Region —
region
— EventUnitRegion - Unit Enters/Leaves Point —
void
— TriggerAddEventUnitRangePoint - Unit Enters/Leaves Range Of Unit —
void
— TriggerAddEventUnitRange - Triggering Range Unit —
unit
— EventUnitRangeUnit - Unit In Region —
bool
— libNtve_gf_UnitInRegion - Triggering Unit —
unit
— EventUnit - Load Unit Model —
void
— UnitLoadModel - Unload Unit Model —
void
— UnitUnloadModel - Agent Of Player For Unit —
unit
— UnitAgent - Change Empty Unit Variables In Events —
void
— UnitEventSetNullVariableInvalid - Name of Unit —
text
— UnitGetName - Ideal Harvester Count —
int
— UnitIdealWorkerCount - Current Harvester Count —
int
— UnitCurrentWorkerCount
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:312
}
if ((libNtve_gf_UnitIsHidden(lp_u) == true)) {
lv_msg = (lv_msg + StringExternal("Param/Value/B708ECE2"));
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:8110
lv_current = DataTableGetInt(true, lv_datatable_name);
if ((gv_worldMode == ge_WorldMode_WorldModeGlobal) && (UnitTestState(gf_ActorUnit(lp_actor), c_unitStateIdle) == true) && (libNtve_gf_UnitIsHidden(gf_ActorUnit(lp_actor)) == false) && (gv_currentRoom == lp_room)) {
if ((lv_current <= 1)) {
lv_current += 1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2map — MapScript.galaxy:312
}
if ((libNtve_gf_UnitIsHidden(lp_u) == true)) {
lv_msg = (lv_msg + StringExternal("Param/Value/B708ECE2"));
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:8110
lv_current = DataTableGetInt(true, lv_datatable_name);
if ((gv_worldMode == ge_WorldMode_WorldModeGlobal) && (UnitTestState(gf_ActorUnit(lp_actor), c_unitStateIdle) == true) && (libNtve_gf_UnitIsHidden(gf_ActorUnit(lp_actor)) == false) && (gv_currentRoom == lp_room)) {
if ((lv_current <= 1)) {
lv_current += 1;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map/MapScript.galaxy:4001
TriggerExecute(gt_StartUpgradesHard, true, false);
}
while (!((libNtve_gf_UnitIsHidden(UnitFromId(400)) == false))) {
Wait(1.0, c_timeAI);
}
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:992
// Implementation
libNtve_gf_MakeUnitUncommandable(lp_unit, true);
while ((gv_inCinematic == true) && (UnitIsAlive(lp_unit) == true) && (libNtve_gf_UnitIsHidden(lp_unit) == false) && (DistanceBetweenPoints(UnitGetPosition(lp_unit), lp_point) > 3.0)) {
if ((lp_unit != gv_dEHAKA)) {
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("attack", 0), lp_point), c_orderQueueReplace);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map/MapScript.galaxy:1001
Wait(0.1, c_timeGame);
}
while ((gv_inCinematic == true) && (UnitIsAlive(lp_unit) == true) && (libNtve_gf_UnitIsHidden(lp_unit) == false) && (DistanceBetweenPoints(UnitGetPosition(lp_unit), lp_point) > 1.0)) {
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("move", 0), lp_point), c_orderQueueReplace);
Wait(0.1, c_timeGame);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map/MapScript.galaxy:3559
}
if (!((libNtve_gf_UnitIsHidden(gv_hYPERION) == false))) {
return false;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid02.sc2map — MapScript.galaxy:4001
TriggerExecute(gt_StartUpgradesHard, true, false);
}
while (!((libNtve_gf_UnitIsHidden(UnitFromId(400)) == false))) {
Wait(1.0, c_timeAI);
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:992
// Implementation
libNtve_gf_MakeUnitUncommandable(lp_unit, true);
while ((gv_inCinematic == true) && (UnitIsAlive(lp_unit) == true) && (libNtve_gf_UnitIsHidden(lp_unit) == false) && (DistanceBetweenPoints(UnitGetPosition(lp_unit), lp_point) > 3.0)) {
if ((lp_unit != gv_dEHAKA)) {
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("attack", 0), lp_point), c_orderQueueReplace);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal02.sc2map — MapScript.galaxy:1001
Wait(0.1, c_timeGame);
}
while ((gv_inCinematic == true) && (UnitIsAlive(lp_unit) == true) && (libNtve_gf_UnitIsHidden(lp_unit) == false) && (DistanceBetweenPoints(UnitGetPosition(lp_unit), lp_point) > 1.0)) {
UnitIssueOrder(lp_unit, OrderTargetingPoint(AbilityCommand("move", 0), lp_point), c_orderQueueReplace);
Wait(0.1, c_timeGame);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal03.sc2map — MapScript.galaxy:3559
}
if (!((libNtve_gf_UnitIsHidden(gv_hYPERION) == false))) {
return false;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7441
UnitSetState(libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster, c_unitStateCursorable, true);
UnitSetState(libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster, c_unitStateHighlightable, true);
if ((libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster) == true)) {
libSwaC_gf_ZS_ShowHideStoryUnit(true, libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7544
}
else {
if ((libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEggRoom) == true)) {
libSwaC_gf_ZS_ShowHideStoryUnit(true, libSwaC_gv_zS_ArmyCustomEggRoom);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7666
}
if ((libSwaC_gv_zS_ArmyCustomEggRoom != null) && (libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEggRoom) == false)) {
libSwaC_gf_ZS_ShowHideStoryUnit(false, libSwaC_gv_zS_ArmyCustomEggRoom);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7676
}
if ((libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster != null) && (libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster) == false)) {
libSwaC_gf_ZS_ShowHideStoryUnit(false, libSwaC_gv_zS_ArmyCustomEggRoomEvolutionMaster);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7685
autoD5C92A53_var = UnitGroupUnitFromEnd(autoD5C92A53_g, autoD5C92A53_u);
if (autoD5C92A53_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(autoD5C92A53_var) == false)) {
libSwaC_gf_ZS_ShowHideStoryUnit(false, autoD5C92A53_var);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:7774
UnitSetState(lv_eggUnit, c_unitStateHighlightable, false);
}
if ((libNtve_gf_UnitIsHidden(lv_eggUnit) == true)) {
libSwaC_gf_ZS_ShowHideStoryUnit(true, lv_eggUnit);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8914
}
else {
if ((libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEvolutionSet) == true)) {
libSwaC_gf_ZS_ShowHideStoryUnit(true, libSwaC_gv_zS_ArmyCustomEvolutionSet);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8942
}
else {
if ((libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEvolutionUnitA) == true)) {
libNtve_gf_ShowHideUnit(libSwaC_gv_zS_ArmyCustomEvolutionUnitA, true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:8967
}
else {
if ((libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEvolutionUnitB) == true)) {
libNtve_gf_ShowHideUnit(libSwaC_gv_zS_ArmyCustomEvolutionUnitB, true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:9133
}
if ((libSwaC_gv_zS_ArmyCustomEvolutionSet != null) && (libNtve_gf_UnitIsHidden(libSwaC_gv_zS_ArmyCustomEvolutionSet) == false)) {
libSwaC_gf_ZS_ShowHideStoryUnit(false, libSwaC_gv_zS_ArmyCustomEvolutionSet);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2559
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)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2564
else {
}
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == false) && (lp_showHide == false)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2584
UnitGroupRemove(lib281DEC45_gv_zSS_VisibleUnits, lp_unit);
}
if ((lp_showHide == false) && (libNtve_gf_UnitIsHidden(lp_unit) == true)) {
return ;
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2589
else {
}
if ((lp_showHide == true) && ((libNtve_gf_UnitIsHidden(lp_unit) == false) || (lib281DEC45_gv_zSS_StoryUnitsVisible == false))) {
return ;
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:9999
auto232D96B7_var = UnitGroupUnitFromEnd(auto232D96B7_g, auto232D96B7_u);
if (auto232D96B7_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(auto232D96B7_var) == true)) {
libNtve_gf_ShowHideUnit(auto232D96B7_var, true);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur04.sc2map/MapScript.galaxy:10455
auto9B0D6331_var = UnitGroupUnitFromEnd(auto9B0D6331_g, auto9B0D6331_u);
if (auto9B0D6331_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(auto9B0D6331_var) == true) && (UnitGroupHasUnit(gv_cavernsAntechamberEnemies, auto9B0D6331_var) == false) && (UnitGroupHasUnit(gv_cavernsAccessPointEnemies, auto9B0D6331_var) == false)) {
libNtve_gf_ShowHideUnit(auto9B0D6331_var, true);
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/paiur05.sc2map/MapScript.galaxy:4659
auto98BF334F_var = UnitGroupUnitFromEnd(auto98BF334F_g, auto98BF334F_u);
if (auto98BF334F_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(auto98BF334F_var) == false) && (UnitGetType(auto98BF334F_var) != "BeamCaster")) {
UnitGroupAdd(gv_cinematicHiddenUnits, auto98BF334F_var);
libNtve_gf_ShowHideUnit(auto98BF334F_var, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pshakuras01.sc2map/MapScript.galaxy:985
lv_terrainHidden = true;
while ((UnitIsAlive(lp_voidThrasher) == true)) {
if ((libNtve_gf_UnitIsHidden(lp_voidThrasher) == true)) {
if ((lv_terrainHidden == true)) {
RegionSetCenter(RegionFromId(35), lv_voidThrasherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:809
lv_terrainHidden = true;
while ((UnitIsAlive(lp_voidThrasher) == true)) {
if ((libNtve_gf_UnitIsHidden(lp_voidThrasher) == true)) {
if ((lv_terrainHidden == true)) {
RegionSetCenter(RegionFromId(30), lv_voidThrasherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:9999
auto232D96B7_var = UnitGroupUnitFromEnd(auto232D96B7_g, auto232D96B7_u);
if (auto232D96B7_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(auto232D96B7_var) == true)) {
libNtve_gf_ShowHideUnit(auto232D96B7_var, true);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur04.sc2map — MapScript.galaxy:10455
auto9B0D6331_var = UnitGroupUnitFromEnd(auto9B0D6331_g, auto9B0D6331_u);
if (auto9B0D6331_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(auto9B0D6331_var) == true) && (UnitGroupHasUnit(gv_cavernsAntechamberEnemies, auto9B0D6331_var) == false) && (UnitGroupHasUnit(gv_cavernsAccessPointEnemies, auto9B0D6331_var) == false)) {
libNtve_gf_ShowHideUnit(auto9B0D6331_var, true);
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/paiur05.sc2map — MapScript.galaxy:4659
auto98BF334F_var = UnitGroupUnitFromEnd(auto98BF334F_g, auto98BF334F_u);
if (auto98BF334F_var == null) { break; }
if ((libNtve_gf_UnitIsHidden(auto98BF334F_var) == false) && (UnitGetType(auto98BF334F_var) != "BeamCaster")) {
UnitGroupAdd(gv_cinematicHiddenUnits, auto98BF334F_var);
libNtve_gf_ShowHideUnit(auto98BF334F_var, false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pshakuras01.sc2map — MapScript.galaxy:985
lv_terrainHidden = true;
while ((UnitIsAlive(lp_voidThrasher) == true)) {
if ((libNtve_gf_UnitIsHidden(lp_voidThrasher) == true)) {
if ((lv_terrainHidden == true)) {
RegionSetCenter(RegionFromId(35), lv_voidThrasherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:809
lv_terrainHidden = true;
while ((UnitIsAlive(lp_voidThrasher) == true)) {
if ((libNtve_gf_UnitIsHidden(lp_voidThrasher) == true)) {
if ((lv_terrainHidden == true)) {
RegionSetCenter(RegionFromId(30), lv_voidThrasherPoint);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:4986
}
if (((libVCMI_gv_sOA_Recall_PrimaryNexus == null) || (libNtve_gf_UnitIsHidden(libVCMI_gv_sOA_Recall_PrimaryNexus) == true) || (!(UnitIsValid(libVCMI_gv_sOA_Recall_PrimaryNexus)) == true))) {
lv_closestNexus = libVCMI_gf_PM_FindPrimaryTownHall(1);
if ((lv_closestNexus != null)) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1145
lv_indexUnit = UnitGroupUnitFromEnd(auto4254474A_g, auto4254474A_u);
if (lv_indexUnit == null) { break; }
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == true) && (libVCST_gf_PS_RoomHasUnit(libVCST_gf_CurrentRoom(), lv_indexUnit) == true) && (lp_showHide == true)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1149
}
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == false) && (lp_showHide == false)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1168
UnitGroupRemove(libVCST_gv_pS_VisibleUnits, lp_unit);
}
if ((lp_showHide == false) && (libNtve_gf_UnitIsHidden(lp_unit) == true)) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:1172
}
if ((lp_showHide == true) && ((libNtve_gf_UnitIsHidden(lp_unit) == false) || (libVCST_gv_pS_StoryUnitsVisible == false) || (libVCST_gf_PS_RoomHasUnit(libVCST_gf_CurrentRoom(), lp_unit) == false))) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2287
if (lv_indexUnit == null) { break; }
if ((libVCST_gf_PS_RoomHasUnit(libVCST_gv_pS_CurrentRoom, lv_indexUnit) == true)) {
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == true)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, true);
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:2293
}
else {
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == false)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, false);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap/MapScript.galaxy:2660
}
else {
if ((libNtve_gf_UnitIsHidden(lv_itUnit) == false)) {
libNtve_gf_ShowHideUnit(lv_itUnit, false);
UnitGroupAdd(gv_cinematicHiddenUnits, lv_itUnit);
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8075
libNtve_gf_ShowHideUnit(autoC5C9DB9A_var, true);
}
if ((libNtve_gf_UnitIsHidden(libStEx_gv_hERO_PlayerUnit) == true)) {
libNtve_gf_ShowHideUnit(libStEx_gv_hERO_PlayerUnit, true);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:8079
}
if ((libNtve_gf_UnitIsHidden(libStEx_gv_hERO_FriendlyUther) == true)) {
libNtve_gf_ShowHideUnit(libStEx_gv_hERO_FriendlyUther, true);
}
mods/heroes.stormmod — base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:9365
}
UnitBehaviorRemove(libStEx_gv_hERO_FriendlyValla, "NewHatredStack", c_unitBehaviorCountAll);
if ((libNtve_gf_UnitIsHidden(libStEx_gv_hERO_PlayerUnit) == true)) {
libNtve_gf_ShowHideUnit(libStEx_gv_hERO_PlayerUnit, true);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorial01.stormmap — MapScript.galaxy:2660
}
else {
if ((libNtve_gf_UnitIsHidden(lv_itUnit) == false)) {
libNtve_gf_ShowHideUnit(lv_itUnit, false);
UnitGroupAdd(gv_cinematicHiddenUnits, lv_itUnit);
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8075
libNtve_gf_ShowHideUnit(autoC5C9DB9A_var, true);
}
if ((libNtve_gf_UnitIsHidden(libStEx_gv_hERO_PlayerUnit) == true)) {
libNtve_gf_ShowHideUnit(libStEx_gv_hERO_PlayerUnit, true);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:8079
}
if ((libNtve_gf_UnitIsHidden(libStEx_gv_hERO_FriendlyUther) == true)) {
libNtve_gf_ShowHideUnit(libStEx_gv_hERO_FriendlyUther, true);
}
mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap — MapScript.galaxy:9365
}
UnitBehaviorRemove(libStEx_gv_hERO_FriendlyValla, "NewHatredStack", c_unitBehaviorCountAll);
if ((libNtve_gf_UnitIsHidden(libStEx_gv_hERO_PlayerUnit) == true)) {
libNtve_gf_ShowHideUnit(libStEx_gv_hERO_PlayerUnit, true);
}
mods/heroesbrawlmods/arenamodemods/arenamode.stormmod — base.stormdata/LibAREN.galaxy:452
}
else {
if ((libNtve_gf_UnitIsHidden(lv_recallUnit) == false)) {
libNtve_gf_ShowHideUnit(lv_recallUnit, false);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1040
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)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1044
}
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == false) && (lp_showHide == false)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, lp_showHide);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1062
UnitGroupRemove(libNCST_gv_nS_VisibleUnits, lp_unit);
}
if ((lp_showHide == false) && (libNtve_gf_UnitIsHidden(lp_unit) == true)) {
return ;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1066
}
if ((lp_showHide == true) && ((libNtve_gf_UnitIsHidden(lp_unit) == false) || (libNCST_gv_nS_StoryUnitsVisible == false) || (libNCST_gf_NS_RoomHasUnit(libNCST_gf_CurrentRoom(), lp_unit) == false))) {
return ;
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1968
lv_indexUnit = UnitGroupUnit(autoB1C4E56F_g, autoB1C4E56F_u);
if ((libNCST_gf_NS_RoomHasUnit(libNCST_gv_nS_CurrentRoom, lv_indexUnit) == true)) {
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == true)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, true);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:1974
}
else {
if ((libNtve_gf_UnitIsHidden(lv_indexUnit) == false)) {
libNtve_gf_ShowHideUnit(lv_indexUnit, false);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova07.sc2map/MapScript.galaxy:1353
if (autoE9DFBB7C_var == null) { break; }
libNCMI_gf_StealthAIAddUnitToStealthAIDefendRegion(RegionFromId(64), autoE9DFBB7C_var, libNtve_gf_PointFacingAngle(UnitGetPosition(autoE9DFBB7C_var), UnitGetFacing(autoE9DFBB7C_var)));
if ((libNtve_gf_UnitIsHidden(autoE9DFBB7C_var) == true)) {
libNtve_gf_PauseUnit(autoE9DFBB7C_var, true);
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:801
}
lv_i = lp_startingIndex;
while ((PointFromName((lp_pathDisplayID + "-" + IntToString((lv_i + 1)))) != null) && (libNCMI_gf_GameIsOver() == false) && (libNCMI_gf_PlayerInCinematicModeCampaign() == false) && (libNtve_gf_UnitIsHidden(gv_hyperion) == false)) {
if ((DistanceBetweenPoints(UnitGetPosition(lp_pathDisplayUnit), PointFromName((lp_pathDisplayID + "-" + IntToString((lv_i + 1))))) < DistanceBetweenPoints(PointFromName((lp_pathDisplayID + "-" + IntToString(lv_i))), PointFromName((lp_pathDisplayID + "-" + IntToString((lv_i + 1))))))) {
lv_i += 1;
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:3227
}
if (!(((libNtve_gf_UnitIsHidden(gv_hyperion) == true) || (gv_hyperion == null)))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:3396
}
if (!((libNtve_gf_UnitIsHidden(gv_hyperion) == false))) {
return false;
}
mods/novastoryassets.sc2mod — base3.sc2maps/maps/campaign/nova/nova09.sc2map/MapScript.galaxy:3515
}
if ((libNtve_gf_UnitIsHidden(gv_hyperion) == true)) {
PingSetVisible(gv_hyperionMinimapIcon, false);
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova07.sc2map — MapScript.galaxy:1353
if (autoE9DFBB7C_var == null) { break; }
libNCMI_gf_StealthAIAddUnitToStealthAIDefendRegion(RegionFromId(64), autoE9DFBB7C_var, libNtve_gf_PointFacingAngle(UnitGetPosition(autoE9DFBB7C_var), UnitGetFacing(autoE9DFBB7C_var)));
if ((libNtve_gf_UnitIsHidden(autoE9DFBB7C_var) == true)) {
libNtve_gf_PauseUnit(autoE9DFBB7C_var, true);
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:801
}
lv_i = lp_startingIndex;
while ((PointFromName((lp_pathDisplayID + "-" + IntToString((lv_i + 1)))) != null) && (libNCMI_gf_GameIsOver() == false) && (libNCMI_gf_PlayerInCinematicModeCampaign() == false) && (libNtve_gf_UnitIsHidden(gv_hyperion) == false)) {
if ((DistanceBetweenPoints(UnitGetPosition(lp_pathDisplayUnit), PointFromName((lp_pathDisplayID + "-" + IntToString((lv_i + 1))))) < DistanceBetweenPoints(PointFromName((lp_pathDisplayID + "-" + IntToString(lv_i))), PointFromName((lp_pathDisplayID + "-" + IntToString((lv_i + 1))))))) {
lv_i += 1;
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:3227
}
if (!(((libNtve_gf_UnitIsHidden(gv_hyperion) == true) || (gv_hyperion == null)))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:3396
}
if (!((libNtve_gf_UnitIsHidden(gv_hyperion) == false))) {
return false;
}
mods/novastoryassets.sc2mod/base3.sc2maps/maps/campaign/nova/nova09.sc2map — MapScript.galaxy:3515
}
if ((libNtve_gf_UnitIsHidden(gv_hyperion) == true)) {
PingSetVisible(gv_hyperionMinimapIcon, false);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:15409
// Conditions
if (testConds) {
if (!(((UnitGetType(EventUnit()) != "Locust") && (PlayerCommander(lv_killedPlayer) == "Abathur") && ((UnitHasBehavior2(EventUnit(), "BiomassBuff1") == true) || (UnitHasBehavior2(EventUnit(), "BiomassBuff10") == true) || (UnitHasBehavior2(EventUnit(), "BiomassBuff100") == true)) && (UnitFilterMatch(EventUnit(), 1, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), 0)) == true) && ((libNtve_gf_UnitIsHidden(EventUnit()) == false) || (EventUnitDamageEffect() == libCOMI_gv_cM_CargoDeathKillEffect)) && (lv_biomassRefundChance > 0.0)))) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:33208
lv_indexUnit = UnitGroupUnitFromEnd(auto7D09EFD3_g, auto7D09EFD3_u);
if (lv_indexUnit == null) { break; }
if (((UnitTestState(lv_indexUnit, c_unitStateUsingSupply) == false) || ((libNtve_gf_UnitIsHidden(lv_indexUnit) == true) && (libNtve_gf_UnitIsInsideTransport(lv_indexUnit) == false)))) {
continue;
}