diff --git a/(10)trymemode.stormmap/base.stormdata/Modules/LibUnits.galaxy b/(10)trymemode.stormmap/base.stormdata/Modules/LibUnits.galaxy index eb51e60..85aa908 100644 --- a/(10)trymemode.stormmap/base.stormdata/Modules/LibUnits.galaxy +++ b/(10)trymemode.stormmap/base.stormdata/Modules/LibUnits.galaxy @@ -1748,6 +1748,7 @@ bool libUNIT_gt_SummonUnitPanelSummonButtonClicked_Func (bool testConds, bool ru libNtve_gf_CreateUnitsWithDefaultFacing(1, lv_unittype, 0, lv_player, CameraGetTarget(EventPlayer()), null); AIAddPlayerUnit(UnitLastCreated()); UnitSetScale(UnitLastCreated(), (lv_scale * 100.0), (lv_scale * 100.0), (lv_scale * 100.0)); + UnitSelect(UnitLastCreated(), lv_player, true); if ((libUNIT_gv_summonedUnits_index[lv_player] >= libUNIT_gv_summonedUnits_MaxLength)) { libUNIT_gv_summonedUnits_index[lv_player] = 0; libUNIT_gv_summonedUnits_resetted[lv_player] = true; @@ -1869,6 +1870,7 @@ bool libUNIT_gt_SummonUnit_Func (bool testConds, bool runActions) { libNtve_gf_CreateUnitsWithDefaultFacing(1, lv_unittype, 0, lv_player, CameraGetTarget(EventPlayer()), null); AIAddPlayerUnit(UnitLastCreated()); UnitSetScale(UnitLastCreated(), (lv_scale * 100.0), (lv_scale * 100.0), (lv_scale * 100.0)); + UnitSelect(UnitLastCreated(), lv_player, true); if ((libUNIT_gv_summonedUnits_index[lv_player] >= libUNIT_gv_summonedUnits_MaxLength)) { libUNIT_gv_summonedUnits_index[lv_player] = 0; libUNIT_gv_summonedUnits_resetted[lv_player] = true; diff --git a/(10)trymemode.stormmap/base.stormdata/Modules/Modules_Editor.SC2Mod b/(10)trymemode.stormmap/base.stormdata/Modules/Modules_Editor.SC2Mod index e656a82..5d93d24 100644 Binary files a/(10)trymemode.stormmap/base.stormdata/Modules/Modules_Editor.SC2Mod and b/(10)trymemode.stormmap/base.stormdata/Modules/Modules_Editor.SC2Mod differ diff --git a/(10)trymemode.stormmap/base.stormdata/Modules/doc.json b/(10)trymemode.stormmap/base.stormdata/Modules/doc.json index ccd072d..05ac1f8 100644 --- a/(10)trymemode.stormmap/base.stormdata/Modules/doc.json +++ b/(10)trymemode.stormmap/base.stormdata/Modules/doc.json @@ -508,6 +508,7 @@ "command": "summon", "description": [ "Spawn unit(s) at the centre of your camera location.", + ">Note: A new summoned unit will automatically added to select group.", ">Note: To control the summoned units, you will need to enable multi-selection from either the [`alliancecontrolteamselection`](#cmd-alliancecontrolteamselection) command or QA Cheat Menu (`ts`, also use `/ac` if the unit does not belong to you), which will behave like Vikings and Samuro with Illusion Master. ", ">Note: If your hero is Samuro, it will have some weird behavior for multi selection due to Blizzard's implementation of Samuro." ], diff --git a/USAGE.md b/USAGE.md index b83437d..c566cf4 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1,7 +1,7 @@ # Usage -*(Generated from [doc.json](./(10)trymemode.stormmap/base.stormdata/Modules/doc.json) at Mon, 11 Jan 2021 20:57:20 GMT)* +*(Generated from [doc.json](./(10)trymemode.stormmap/base.stormdata/Modules/doc.json) at Mon, 11 Jan 2021 22:39:02 GMT)* Generally, most of the functionalities are using chat commands. Simply type the commands in the chat box (like how you would normally chat with teammates). >Note: Remember to either use allies or all chat channel when try to use the commands. Public chat channels and Private Messages (PM) does not work. @@ -1384,6 +1384,7 @@ Send an Actor Message for selected unit(s). Generally from ``, the `Note: A new summoned unit will automatically added to select group. >Note: To control the summoned units, you will need to enable multi-selection from either the [`alliancecontrolteamselection`](#cmd-alliancecontrolteamselection) command or QA Cheat Menu (`ts`, also use `/ac` if the unit does not belong to you), which will behave like Vikings and Samuro with Illusion Master. >Note: If your hero is Samuro, it will have some weird behavior for multi selection due to Blizzard's implementation of Samuro.