1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice
  3. Melee Mapping Contest #3 - Results are out! Congratulate the winners and check plenty of new 4v4 melee maps designed for this competition!
    Dismiss Notice
  4. The winners of our cinematic soundtrack competition have been decided! Step by the Music Contest #11 - Results to check the entries and congratulate the winners!
    Dismiss Notice

Hero Selection Window v1.0

Submitted by Almia
This bundle is marked as approved. It works and satisfies the submission rules.

  • This is the Hero Selection Full-Screen Window,this is a 2D Window System w/c allows you to pick heroes in window.You might mistaken this as a Multiboard But it is NOT!
    Configurables are on the setup trigger so dont get confused :D

    Congratulations to you for picking a very efficient Window System.Good Luck and have Fun!
      • HSS Setup
        • Events
          • Map initialization
        • Conditions
        • Actions
          • Custom script: set udg_HSS_Hash = InitHashtable()
          • -------- ------------------------------------ --------
          • -------- Determines all the information of the hero --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroType = Paladin
          • Set HSS_Model = Hero(Paladin)
          • Set HSS_Icon = (Icon) Paladin
          • Set HSS_Info = Warrior Hero, exceptional at defense and augmenting nearby friendly troops. Can learn Holy Light, Divine Shield, Devotion Aura and Resurrection. |n|n|cffffcc00Attacks land units.|r
          • Set HSS_Name = |cffffcc00Paladin
          • -------- ------------------------------------ --------
          • -------- Strength --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[1] = 22 + 2.70
          • -------- ------------------------------------ --------
          • -------- Agility --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[2] = 13 + 1.50
          • -------- ------------------------------------ --------
          • -------- Intelligence --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[3] = 17 + 1.80
          • -------- ------------------------------------ --------
          • -------- Trigger --------
          • -------- ------------------------------------ --------
          • Set HSS_Trigger = HSS Info <gen>
          • -------- ------------------------------------ --------
          • -------- Save --------
          • -------- ------------------------------------ --------
          • Set HSS_Button = Button 0012 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • Set HSS_Button = Button 0033 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • -------- ------------------------------------ --------
          • -------- Determines all the information of the hero --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroType = Archmage
          • Set HSS_Model = Hero(Archmage)
          • Set HSS_Icon = (Icon) Archmage
          • Set HSS_Info = Mystical Hero, adept at ranged assaults. Can learn Blizzard, Summon Water Elemental, Brilliance Aura and Mass Teleport. |n|n|cffffcc00Attacks land and air units.|r
          • Set HSS_Name = |cffffcc00Archmage
          • -------- ------------------------------------ --------
          • -------- Strength --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[1] = 14 + 1.80
          • -------- ------------------------------------ --------
          • -------- Agility --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[2] = 17 + 1.00
          • -------- ------------------------------------ --------
          • -------- Intelligence --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[3] = 19 + 3.20
          • -------- ------------------------------------ --------
          • -------- Trigger --------
          • -------- ------------------------------------ --------
          • Set HSS_Trigger = HSS Info <gen>
          • -------- ------------------------------------ --------
          • -------- Save --------
          • -------- ------------------------------------ --------
          • Set HSS_Button = Button 0013 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • Set HSS_Button = Button 0034 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • -------- ------------------------------------ --------
          • -------- Determines all the information of the hero --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroType = Mountain King
          • Set HSS_Model = Hero(Mountain King)
          • Set HSS_Icon = (Icon) Mountain King
          • Set HSS_Info = Warrior Hero, adept at offensive combat and disrupting enemy troops. Can learn Storm Bolt, Thunder Clap, Bash and Avatar. |n|n|cffffcc00Attacks land units.|r
          • Set HSS_Name = |cffffcc00Mountain King
          • -------- ------------------------------------ --------
          • -------- Strength --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[1] = 24 + 3.00
          • -------- ------------------------------------ --------
          • -------- Agility --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[2] = 11 + 1.50
          • -------- ------------------------------------ --------
          • -------- Intelligence --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[3] = 15 + 1.50
          • -------- ------------------------------------ --------
          • -------- Trigger --------
          • -------- ------------------------------------ --------
          • Set HSS_Trigger = HSS Info <gen>
          • -------- ------------------------------------ --------
          • -------- Save --------
          • -------- ------------------------------------ --------
          • Set HSS_Button = Button 0035 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • Set HSS_Button = Button 0014 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • -------- ------------------------------------ --------
          • -------- Determines all the information of the hero --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroType = Blood Mage
          • Set HSS_Model = Hero(Blood Mage)
          • Set HSS_Icon = (Icon) Blood Mage
          • Set HSS_Info = Mystical Hero, adept at controlling magic and ranged assaults. Can learn Flame Strike, Banish, Siphon Mana and Phoenix. |n|n|cffffcc00Attacks land and air units.|r
          • Set HSS_Name = |cffffcc00Blood Mage
          • -------- ------------------------------------ --------
          • -------- Strength --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[1] = 18 + 2.00
          • -------- ------------------------------------ --------
          • -------- Agility --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[2] = 14 + 1.00
          • -------- ------------------------------------ --------
          • -------- Intelligence --------
          • -------- ------------------------------------ --------
          • Set HSS_Attribute[3] = 19 + 3.00
          • -------- ------------------------------------ --------
          • -------- Trigger --------
          • -------- ------------------------------------ --------
          • Set HSS_Trigger = HSS Info <gen>
          • -------- ------------------------------------ --------
          • -------- Save --------
          • -------- ------------------------------------ --------
          • Set HSS_Button = Button 0015 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • Set HSS_Button = Button 0036 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Save <gen> (ignoring conditions)
          • -------- ------------------------------------ --------
          • -------- Main Buttons --------
          • -------- ------------------------------------ --------
          • -------- ------------------------------------ --------
          • -------- Select Hero Button --------
          • -------- ------------------------------------ --------
          • Set HSS_Trigger = HSS Create Hero <gen>
          • Set HSS_Button = Button 0021 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Main Save <gen> (ignoring conditions)
          • Set HSS_Button = Button 0042 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Main Save <gen> (ignoring conditions)
          • -------- ------------------------------------ --------
          • -------- Random Hero --------
          • -------- ------------------------------------ --------
          • Set HSS_Trigger = HSS Random <gen>
          • Set HSS_Button = Button 0020 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Main Save <gen> (ignoring conditions)
          • Set HSS_Button = Button 0041 <gen>
          • Custom script: set udg_HSS_Key[1] = GetHandleId(udg_HSS_Button)
          • Trigger - Run HSS Main Save <gen> (ignoring conditions)
          • -------- ------------------------------------ --------
          • -------- Cameras --------
          • -------- ------------------------------------ --------
          • Set HSS_Camera[0] = Camera Debugger <gen>
          • Set HSS_Camera[1] = Camera Player 1 <gen>
          • Set HSS_Camera[2] = Camera Player 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Regions --------
          • -------- ------------------------------------ --------
          • -------- ------------------------------------ --------
          • -------- Main --------
          • -------- ------------------------------------ --------
          • Set HSS_MainRegion[1] = Main 1 <gen>
          • Set HSS_MainRegion[2] = Main 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Info --------
          • -------- ------------------------------------ --------
          • Set HSS_RegionInfo[1] = Hero Info 1 <gen>
          • Set HSS_RegionInfo[2] = Hero Info 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Heroes --------
          • -------- ------------------------------------ --------
          • Set HSS_RegionHeroes[1] = Heroes 1 <gen>
          • Set HSS_RegionHeroes[2] = Heroes 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Hero Model --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroModelRegion[1] = Hero 3D Model 1 <gen>
          • Set HSS_HeroModelRegion[2] = Hero 3D Model 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Hero Icon --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroIconRegion[1] = Hero Icon 1 <gen>
          • Set HSS_HeroIconRegion[2] = Hero Icon 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Hero Name --------
          • -------- ------------------------------------ --------
          • Set HSS_HeroNameRegion[1] = Hero Name 1 <gen>
          • Set HSS_HeroNameRegion[2] = Hero Name 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Agility --------
          • -------- ------------------------------------ --------
          • Set HSS_AgiRegion[1] = Hero Agi 1 <gen>
          • Set HSS_AgiRegion[2] = Hero Agi 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Strength --------
          • -------- ------------------------------------ --------
          • Set HSS_StrRegion[1] = Hero Str 1 <gen>
          • Set HSS_StrRegion[2] = Hero Str 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Intelligence --------
          • -------- ------------------------------------ --------
          • Set HSS_IntRegion[1] = Hero Int 1 <gen>
          • Set HSS_IntRegion[2] = Hero Int 2 <gen>
          • -------- ------------------------------------ --------
          • -------- Sets all Players --------
          • -------- ------------------------------------ --------
          • Set HSS_Player[1] = Player 1 (Red)
          • Set HSS_Player[2] = Player 2 (Blue)
          • -------- ------------------------------------ --------
          • -------- You can add all of the players if you want --------
          • -------- Adding the triggers and cameras for them --------
          • -------- ------------------------------------ --------
          • For each (Integer HSS_Integer) from 1 to 2, do (Actions)
            • Loop - Actions
              • Custom script: set udg_HSS_Key[2] = GetHandleId(udg_HSS_Player[udg_HSS_Integer])
              • -------- ------------------------------------ --------
              • -------- Creates a text which will be replaced by an info --------
              • -------- ------------------------------------ --------
              • Set HSS_TextLoc = (Center of HSS_RegionInfo[HSS_Integer])
              • Floating Text - Create floating text that reads at HSS_TextLoc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
              • Set HSS_InfoText[HSS_Integer] = (Last created floating text)
              • Custom script: call RemoveLocation(udg_HSS_TextLoc)
              • -------- ------------------------------------ --------
              • -------- Creates a text which will be replaced by a hero name --------
              • -------- ------------------------------------ --------
              • Set HSS_TextLoc = (Center of HSS_HeroNameRegion[HSS_Integer])
              • Floating Text - Create floating text that reads at HSS_TextLoc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
              • Set HSS_NameText[HSS_Integer] = (Last created floating text)
              • Custom script: call RemoveLocation(udg_HSS_TextLoc)
              • -------- ------------------------------------ --------
              • -------- Creates a text which will be replaced by the agility of the hero --------
              • -------- ------------------------------------ --------
              • Set HSS_TextLoc = (Center of HSS_AgiRegion[HSS_Integer])
              • Floating Text - Create floating text that reads at HSS_TextLoc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
              • Set HSS_Agi[HSS_Integer] = (Last created floating text)
              • Custom script: call RemoveLocation(udg_HSS_TextLoc)
              • -------- ------------------------------------ --------
              • -------- Creates a text which will be replaced by the Strength of the hero --------
              • -------- ------------------------------------ --------
              • Set HSS_TextLoc = (Center of HSS_StrRegion[HSS_Integer])
              • Floating Text - Create floating text that reads at HSS_TextLoc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
              • Set HSS_Str[HSS_Integer] = (Last created floating text)
              • Custom script: call RemoveLocation(udg_HSS_TextLoc)
              • -------- ------------------------------------ --------
              • -------- Creates a text which will be replaced by the Intelligence of the hero --------
              • -------- ------------------------------------ --------
              • Set HSS_TextLoc = (Center of HSS_IntRegion[HSS_Integer])
              • Floating Text - Create floating text that reads at HSS_TextLoc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
              • Set HSS_Int[HSS_Integer] = (Last created floating text)
              • Custom script: call RemoveLocation(udg_HSS_TextLoc)
              • -------- ------------------------------------ --------
              • -------- Creates the visibility --------
              • -------- ------------------------------------ --------
              • Set HSS_VisibilityLoc = (Center of HSS_MainRegion[HSS_Integer])
              • Unit - Create 1 Selector for HSS_Player[HSS_Integer] at HSS_VisibilityLoc facing Default building facing degrees
              • Set HSS_Selector[HSS_Integer] = (Last created unit)
              • Custom script: call RemoveLocation(udg_HSS_VisibilityLoc)
              • -------- ------------------------------------ --------
              • -------- Starts the camera --------
              • -------- ------------------------------------ --------
              • Player Group - Add HSS_Player[HSS_Integer] to HSS_CameraGroup
              • Trigger - Turn on HSS Camera <gen>
              • Trigger - Add to HSS Select <gen> the event (Player - HSS_Player[HSS_Integer] Selects a unit)
          • -------- ------------------------------------ --------
          • -------- Hides all buttons --------
          • -------- ------------------------------------ --------
          • For each (Integer HSS_Integer) from 1 to 2, do (Actions)
            • Loop - Actions
              • Custom script: set bj_wantDestroyGroup = true
              • Unit Group - Pick every unit in (Units in HSS_MainRegion[HSS_Integer]) and do (Animation - Change (Picked unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency)
      • HSS Save
        • Events
        • Conditions
        • Actions
          • Custom script: call SaveInteger(udg_HSS_Hash,udg_HSS_Key[1],1,udg_HSS_HeroType)
          • Custom script: call SaveInteger(udg_HSS_Hash,udg_HSS_Key[1],2,udg_HSS_Model)
          • Custom script: call SaveInteger(udg_HSS_Hash,udg_HSS_Key[1],3,udg_HSS_Icon)
          • Hashtable - Save HSS_Info as 4 of HSS_Key[1] in HSS_Hash
          • Hashtable - Save HSS_Attribute[1] as 5 of HSS_Key[1] in HSS_Hash
          • Hashtable - Save HSS_Attribute[2] as 6 of HSS_Key[1] in HSS_Hash
          • Hashtable - Save HSS_Attribute[3] as 7 of HSS_Key[1] in HSS_Hash
          • Hashtable - Save Handle OfHSS_Trigger as 8 of HSS_Key[1] in HSS_Hash
          • Hashtable - Save HSS_Name as 9 of HSS_Key[1] in HSS_Hash
      • HSS Main Save
        • Events
        • Conditions
        • Actions
          • Hashtable - Save Handle OfHSS_Trigger as 8 of HSS_Key[1] in HSS_Hash
      • HSS Select
        • Events
        • Conditions
          • (Unit-type of (Triggering unit)) Equal to Button
        • Actions
          • Set HSS_CurrentButton = (Triggering unit)
          • Custom script: set udg_HSS_Key[3] = GetHandleId(udg_HSS_CurrentButton)
          • Set HSS_TempPlayer = (Triggering player)
          • -------- ------------------------------------ --------
          • -------- Starting Trigger --------
          • -------- ------------------------------------ --------
          • Set HSS_ID = (Player number of HSS_TempPlayer)
          • Trigger - Turn off (This trigger)
          • Selection - Clear selection for HSS_TempPlayer
          • Set HSS_TempTrigger = (Load 8 of HSS_Key[3] in HSS_Hash)
          • Trigger - Run HSS_TempTrigger (ignoring conditions)
          • Trigger - Turn on (This trigger)
      • HSS Info
        • Events
        • Conditions
        • Actions
          • -------- ------------------------------------ --------
          • -------- Removing all models --------
          • -------- ------------------------------------ --------
          • Unit - Remove HSS_CurrentModel[HSS_ID] from the game
          • Destructible - Remove HSS_CurrentIcon[HSS_ID]
          • -------- ------------------------------------ --------
          • -------- Load --------
          • -------- ------------------------------------ --------
          • Custom script: set udg_HSS_TempHeroType = LoadInteger(udg_HSS_Hash,udg_HSS_Key[3],1)
          • Custom script: set udg_HSS_TempModel = LoadInteger(udg_HSS_Hash,udg_HSS_Key[3],2)
          • Custom script: set udg_HSS_TempIcon = LoadInteger(udg_HSS_Hash,udg_HSS_Key[3],3)
          • Set HSS_TempInfo = (Load 4 of HSS_Key[3] from HSS_Hash)
          • Set HSS_TempAttribute[1] = (Load 5 of HSS_Key[3] from HSS_Hash)
          • Set HSS_TempAttribute[2] = (Load 6 of HSS_Key[3] from HSS_Hash)
          • Set HSS_TempAttribute[3] = (Load 7 of HSS_Key[3] from HSS_Hash)
          • Set HSS_TempName = (Load 9 of HSS_Key[3] from HSS_Hash)
          • -------- ------------------------------------ --------
          • -------- Creating Icon --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLoc = (Center of HSS_HeroIconRegion[HSS_ID])
          • Destructible - Create a HSS_TempIcon at HSS_TempLoc facing 0.00 with scale 1.50 and variation 0
          • Set HSS_CurrentIcon[HSS_ID] = (Last created destructible)
          • Custom script: call RemoveLocation(udg_HSS_TempLoc)
          • -------- ------------------------------------ --------
          • -------- Creating Hero Model --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLoc = (Center of HSS_HeroModelRegion[HSS_ID])
          • Unit - Create 1 HSS_TempModel for HSS_TempPlayer at HSS_TempLoc facing 180.00 degrees
          • Set HSS_CurrentModel[HSS_ID] = (Last created unit)
          • Custom script: call RemoveLocation(udg_HSS_TempLoc)
          • -------- ------------------------------------ --------
          • -------- Creating Info --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLocSys = (Center of HSS_RegionInfo[HSS_ID])
          • Floating Text - Destroy HSS_InfoText[HSS_ID]
          • Floating Text - Create floating text that reads HSS_TempInfo at HSS_TempLocSys with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set HSS_InfoText[HSS_ID] = (Last created floating text)
          • Custom script: call RemoveLocation(udg_HSS_TempLocSys)
          • -------- ------------------------------------ --------
          • -------- Creating Name Info --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLocSys = (Center of HSS_HeroNameRegion[HSS_ID])
          • Floating Text - Destroy HSS_NameText[HSS_ID]
          • Floating Text - Create floating text that reads HSS_TempName at HSS_TempLocSys with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set HSS_NameText[HSS_ID] = (Last created floating text)
          • Custom script: call RemoveLocation(udg_HSS_TempLocSys)
          • -------- ------------------------------------ --------
          • -------- Creates all attribute info --------
          • -------- ------------------------------------ --------
          • -------- ------------------------------------ --------
          • -------- Str --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLocSys = (Center of HSS_StrRegion[HSS_ID])
          • Floating Text - Destroy HSS_Str[HSS_ID]
          • Floating Text - Create floating text that reads HSS_TempAttribute[1] at HSS_TempLocSys with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set HSS_Str[HSS_ID] = (Last created floating text)
          • Custom script: call RemoveLocation(udg_HSS_TempLocSys)
          • -------- ------------------------------------ --------
          • -------- Agi --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLocSys = (Center of HSS_AgiRegion[HSS_ID])
          • Floating Text - Destroy HSS_Agi[HSS_ID]
          • Floating Text - Create floating text that reads HSS_TempAttribute[2] at HSS_TempLocSys with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set HSS_Agi[HSS_ID] = (Last created floating text)
          • Custom script: call RemoveLocation(udg_HSS_TempLocSys)
          • -------- ------------------------------------ --------
          • -------- Int --------
          • -------- ------------------------------------ --------
          • Set HSS_TempLocSys = (Center of HSS_IntRegion[HSS_ID])
          • Floating Text - Destroy HSS_Int[HSS_ID]
          • Floating Text - Create floating text that reads HSS_TempAttribute[3] at HSS_TempLocSys with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set HSS_Int[HSS_ID] = (Last created floating text)
          • Custom script: call RemoveLocation(udg_HSS_TempLocSys)
          • -------- ------------------------------------ --------
          • -------- Creates a current selected indicator --------
          • -------- ------------------------------------ --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • HSS_Indicator[HSS_ID] Equal to No unit
            • Then - Actions
              • Set HSS_TempLoc = (Position of HSS_CurrentButton)
              • Unit - Create 1 Current Selected for HSS_TempPlayer at HSS_TempLoc facing Default building facing degrees
              • Set HSS_Indicator[HSS_ID] = (Last created unit)
              • Custom script: call RemoveLocation(udg_HSS_TempLoc)
            • Else - Actions
              • Set HSS_TempLoc = (Position of HSS_CurrentButton)
              • Unit - Move HSS_Indicator[HSS_ID] instantly to HSS_TempLoc
              • Custom script: call RemoveLocation(udg_HSS_TempLoc)
          • Set HSS_CurrentSelected[HSS_ID] = HSS_CurrentButton
          • Set HSS_CurrentHeroType[HSS_ID] = HSS_TempHeroType
      • HSS Create Hero
        • Events
        • Conditions
        • Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • HSS_CurrentSelected[HSS_ID] Not equal to No unit
            • Then - Actions
              • Set HSS_TempLoc = (HSS_TempPlayer start location)
              • Unit - Create 1 HSS_CurrentHeroType[HSS_ID] for HSS_TempPlayer at HSS_TempLoc facing Default building facing degrees
              • -------- ------------------------------------ --------
              • -------- Removing Units --------
              • -------- ------------------------------------ --------
              • Unit - Remove HSS_Selector[HSS_ID] from the game
              • Unit - Remove HSS_CurrentSelected[HSS_ID] from the game
              • -------- ------------------------------------ --------
              • -------- Removing all models --------
              • -------- ------------------------------------ --------
              • Unit - Remove HSS_CurrentModel[HSS_ID] from the game
              • Destructible - Remove HSS_CurrentIcon[HSS_ID]
              • -------- ------------------------------------ --------
              • -------- Restoring Camera --------
              • -------- ------------------------------------ --------
              • Player Group - Remove HSS_TempPlayer from HSS_CameraGroup
              • Camera - Apply HSS_Camera[0] for HSS_TempPlayer over 0.00 seconds
              • Camera - Pan camera for HSS_TempPlayer to HSS_TempLoc over 0.00 seconds
              • Selection - Select (Last created unit) for HSS_TempPlayer
              • Custom script: call RemoveLocation(udg_HSS_TempLoc)
              • -------- ------------------------------------ --------
              • -------- Creating Disabled Icon --------
              • -------- ------------------------------------ --------
              • Set HSS_TempLoc = (Position of HSS_CurrentSelected[HSS_ID])
              • Destructible - Create a Button (Disabled) at HSS_TempLoc facing 0.00 with scale 1.50 and variation 0
              • Custom script: call RemoveLocation(udg_HSS_TempLoc)
              • -------- ------------------------------------ --------
              • -------- Destroying all text --------
              • -------- ------------------------------------ --------
              • Floating Text - Destroy HSS_InfoText[HSS_ID]
              • Floating Text - Destroy HSS_NameText[HSS_ID]
              • Floating Text - Destroy HSS_Agi[HSS_ID]
              • Floating Text - Destroy HSS_Int[HSS_ID]
              • Floating Text - Destroy HSS_Str[HSS_ID]
              • Set HSS_CurrentSelected[HSS_ID] = No unit
            • Else - Actions
      • HSS Random
        • Events
        • Conditions
        • Actions
          • Set HSS_RandomGroup[1] = (Units in HSS_MainRegion[HSS_ID] matching ((((Unit-type of (Matching unit)) Equal to Button) and ((Matching unit) Not equal to Button 0020 <gen>)) and ((((Matching unit) Not equal to Button 0021 <gen>) and ((Matching unit) Not equal to Button 0042 <gen>)) and
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Number of units in HSS_RandomGroup[1]) Greater than 0
            • Then - Actions
              • Set HSS_RandomGroup[2] = (Random 1 units from HSS_RandomGroup[1])
              • Set HSS_TempButton[1] = Button 0021 <gen>
              • Set HSS_TempButton[2] = Button 0042 <gen>
              • Unit Group - Pick every unit in HSS_RandomGroup[2] and do (Actions)
                • Loop - Actions
                  • Selection - Select (Picked unit) for HSS_TempPlayer
              • Selection - Select HSS_TempButton[HSS_ID] for HSS_TempPlayer
              • Custom script: call DestroyGroup(udg_HSS_RandomGroup[2])
            • Else - Actions
          • Custom script: call DestroyGroup(udg_HSS_RandomGroup[1])
      • HSS Camera
        • Events
          • Time - Every 0.03 seconds of game time
        • Conditions
        • Actions
          • Player Group - Pick every player in HSS_CameraGroup and do (Actions)
            • Loop - Actions
              • Set HSS_TempID = (Player number of (Picked player))
              • Camera - Apply HSS_Camera[HSS_TempID] for (Picked player) over 0.00 seconds

  • -Kobas for the icon paths
    -doomhammer99 that i remember asking me to upload this :D
Contents

HSS v1.3 (Map)

Reviews
Moderator
21:51, 2nd Dec 2012 Magtheridon96: Since I approved this months ago and then rejected it for not having proper Credits in it, I guess it can be approved once more :V But seriously, if you want to make something innovative, as soon as a Window...
  1. 21:51, 2nd Dec 2012
    Magtheridon96: Since I approved this months ago and then rejected it for not having proper Credits in it, I guess it can be approved once more :V

    But seriously, if you want to make something innovative, as soon as a Window system is available (A proper, usable version of DGUI), I encourage you to update this to use that.
     
  2. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,839
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    ~Reserved
    I uploaded this again because Mag told me too :D
     
  3. Nestharus

    Nestharus

    Joined:
    Jul 10, 2007
    Messages:
    6,149
    Resources:
    8
    Spells:
    3
    Tutorials:
    4
    JASS:
    1
    Resources:
    8
    Not another one...

    not to mention that this, just like all of the others, isn't modular.
     
  4. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,839
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    Uhhm,as you cant see,it is different from kobas because it is much easier to configure than his.
     
  5. Nestharus

    Nestharus

    Joined:
    Jul 10, 2007
    Messages:
    6,149
    Resources:
    8
    Spells:
    3
    Tutorials:
    4
    JASS:
    1
    Resources:
    8
    no, it's just like all the others in not being modular

    edit
    we should seriously have a ban on these until someone makes a window system
     
  6. gorillabull

    gorillabull

    Joined:
    Jul 17, 2011
    Messages:
    1,368
    Resources:
    2
    Spells:
    2
    Resources:
    2
    a good module for these types of systems would be something that automatically creates all the destructables and assigns their values, but what is a window system?
     
  7. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,839
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    Window System
    just like that,is one of the most (currently impossible) complex system idea.
    The original window system would be using images instead of destructables and makes the window follow the camera whereever it goes.
    Window system has a scrolls(like websites) and doesnt not use trackables.

    Also this system i made is approved months ago,but rejected because of not giving the right credits,that's why i reupload it.
     
  8. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    just wanna ask, how easy it is to add things to the UI? Like adding buttons for the ability list too (like the existing buttons for the stats)...
     
  9. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,839
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    Copy paste destructables then replace skin
    But the bad thing is that it increase the number of doodads(only in object editor)
     
  10. Adiktuz

    Adiktuz

    Joined:
    Oct 16, 2008
    Messages:
    9,674
    Resources:
    23
    Models:
    2
    Packs:
    1
    Maps:
    1
    Spells:
    16
    Tutorials:
    1
    JASS:
    2
    Resources:
    23
    I see... then just the same as the other FS systems...

    Pretty neat system btw...

    PS: Is it possible to make this work the same way as shadow's inventory system which doesn't need any reserved space on the map?
     
  11. doomhammer99

    doomhammer99

    Joined:
    Dec 5, 2011
    Messages:
    319
    Resources:
    5
    Models:
    1
    Spells:
    3
    Tutorials:
    1
    Resources:
    5
    Yay, I'm in the Credit Log :D
     
  12. shadowvzs

    shadowvzs

    Joined:
    Nov 13, 2006
    Messages:
    1,803
    Resources:
    2
    Spells:
    2
    Resources:
    2
    look cool the design :)

    just a question, why dont disable the periodic trigger when dont needed? i talk about "HSS Camera" trigger.


    few personal opinion:
    - without (unholy) aura maybe look better the button units, exclude the selector aura, that really nice ideea
    - units scale, few of them is too tall or dwarf hammer sometimes out from window, why dont use a bit smaller unit scale?
    - default selected hero could be somebody else the unholy aura where is normally the hero icon what selected, is a bit weird
    - write into description it is MPI or SPI
    (overall i cant say nothing bad about system)
     
    Last edited: Dec 2, 2012
  13. Orcnet

    Orcnet

    Joined:
    Jul 31, 2010
    Messages:
    3,873
    Resources:
    4
    Maps:
    3
    Tutorials:
    1
    Resources:
    4
    what the hell Radamantus why u upload bad-ass system is it because you now have many women?

    good job by the way :)
     
  14. meowie

    meowie

    Joined:
    Jun 13, 2010
    Messages:
    43
    Resources:
    0
    Resources:
    0
    Wow... why 1 hero selection menu when you can code it all at just one menu. one menu per player is ridiculous and inefficient of space for the terrain. Just use player numbers to indicate the selection to all variable is way better. you know it don't you..
     
  15. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,839
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    I cant disable the loop because there are no booleans if the player group is empty or not.
    No.
    LoL thank You :D

    GetLocalPlayer doesnt work on units that's why :D
     
  16. shadowvzs

    shadowvzs

    Joined:
    Nov 13, 2006
    Messages:
    1,803
    Resources:
    2
    Spells:
    2
    Resources:
    2
    GetLocalPlayer work well with vertex color and to another answer, dont need boolean for that
     
    Last edited: Dec 3, 2012
  17. Wolf_Wing

    Wolf_Wing

    Joined:
    Nov 24, 2012
    Messages:
    161
    Resources:
    0
    Resources:
    0
    its pretty good idea but how do i change hero icon?
     
  18. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,839
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    go to the destructables,copy and paste a sample icon,go to its datas,change replaceables/textures files w/ the one you want.open the map editor.remove icon on the desired location.
     
  19. Wolf_Wing

    Wolf_Wing

    Joined:
    Nov 24, 2012
    Messages:
    161
    Resources:
    0
    Resources:
    0
    I never thought