-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
For some reason it stopped working with enemy's invisible units. They just don't get selected. I'm use: tfow, acts.
They are generated, but simply remain invisible - they cannot be selected. Apparently this is due to an update related to the survey or so.
HeroesOfTheStorm_TryMode2.0/(10)trymemode.stormmap/base.stormdata/Modules/LibUtilities.galaxy
Lines 216 to 241 in c9b0089
| bool libUTIL_gt_ToggleFOW_Func (bool testConds, bool runActions) { | |
| // Automatic Variable Declarations | |
| // Actions | |
| if (!runActions) { | |
| return true; | |
| } | |
| libUTIL_gv_isFOWEnabled = !(libUTIL_gv_isFOWEnabled); | |
| if ((libUTIL_gv_isFOWEnabled == true)) { | |
| VisRevealerDestroy(libUTIL_gv_revealer); | |
| UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, StringToText("Enabled Fog Of War")); | |
| } | |
| else { | |
| VisRevealerCreate(EventPlayer(), RegionEntireMap()); | |
| libUTIL_gv_revealer = VisRevealerLastCreated(); | |
| UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, StringToText("Disabled Fog Of War")); | |
| } | |
| return true; | |
| } | |
| //-------------------------------------------------------------------------------------------------- | |
| void libUTIL_gt_ToggleFOW_Init () { | |
| libUTIL_gt_ToggleFOW = TriggerCreate("libUTIL_gt_ToggleFOW_Func"); | |
| TriggerAddEventChatMessage(libUTIL_gt_ToggleFOW, c_playerAny, "tfow", true); | |
| TriggerAddEventChatMessage(libUTIL_gt_ToggleFOW, c_playerAny, "togglefogofwar", true); | |
| } |
HeroesOfTheStorm_TryMode2.0/(10)trymemode.stormmap/base.stormdata/Modules/LibUtilities.galaxy
Lines 676 to 719 in c9b0089
| bool libUTIL_gt_ToggleACTS_Func (bool testConds, bool runActions) { | |
| // Variable Declarations | |
| bool lv_isTSEnabled; | |
| int lv_i; | |
| // Automatic Variable Declarations | |
| const int auto742BDE96_ae = 15; | |
| const int auto742BDE96_ai = 1; | |
| const int autoDCF572B4_ae = 15; | |
| const int autoDCF572B4_ai = 1; | |
| // Variable Initialization | |
| // Actions | |
| if (!runActions) { | |
| return true; | |
| } | |
| libUTIL_gv_isACTSEnabled = !(libUTIL_gv_isACTSEnabled); | |
| lv_isTSEnabled = libSprt_gv_dEBUGSelectionEnabled; | |
| if ((libUTIL_gv_isACTSEnabled == true)) { | |
| UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, StringToText("Turned ON Alliance Control and Team Selection (/ac, ts)")); | |
| lv_i = 1; | |
| for ( ; ( (autoDCF572B4_ai >= 0 && lv_i <= autoDCF572B4_ae) || (autoDCF572B4_ai < 0 && lv_i >= autoDCF572B4_ae) ) ; lv_i += autoDCF572B4_ai ) { | |
| PlayerSetAlliance(lv_i, c_allianceIdControl, EventPlayer(), true); | |
| } | |
| if ((lv_isTSEnabled != true)) { | |
| libSprt_gf_DEBUGToggleSelection(); | |
| } | |
| } | |
| else { | |
| UIDisplayMessage(PlayerGroupAll(), c_messageAreaDebug, StringToText("Turned OFF Alliance Control and Team Selection (/ac, ts)")); | |
| lv_i = 1; | |
| for ( ; ( (auto742BDE96_ai >= 0 && lv_i <= auto742BDE96_ae) || (auto742BDE96_ai < 0 && lv_i >= auto742BDE96_ae) ) ; lv_i += auto742BDE96_ai ) { | |
| PlayerSetAlliance(lv_i, c_allianceIdControl, EventPlayer(), true); | |
| } | |
| if ((lv_isTSEnabled != false)) { | |
| libSprt_gf_DEBUGToggleSelection(); | |
| } | |
| } | |
| return true; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels