Okay I Got This Hero Pick System and for some reason its not showing the Hero_Description i have no clue why it isn't showing!
Here is where I got it from https://www.hiveworkshop.com/forums/spells-569/hero-selection-template-gui-v0-4-a-105320/?prev=search%3DHero%2520Selection%26d%3Dlist%26r%3D20%26c%3D114%26t%3D65
A Advanced Thx!
Setup
Here is where I got it from https://www.hiveworkshop.com/forums/spells-569/hero-selection-template-gui-v0-4-a-105320/?prev=search%3DHero%2520Selection%26d%3Dlist%26r%3D20%26c%3D114%26t%3D65
A Advanced Thx!
Setup
-
Events
-

Map initialization
-
-
Actions
-

-------- Just a regular Setup for some variables used in this system :) "AND YES! YOU NEED THIS xD" --------
-

Set Selection_Area[1] = Red Select <gen>
-

Set Selection_Area[2] = Blue Select <gen>
-

Set Selection_Area[3] = Teal Select <gen>
-

Set Selection_Area[4] = Purple Select <gen>
-

Set Selection_Area[5] = Yellow Select <gen>
-

Set Selection_Area[6] = Orange Select <gen>
-

Set Selection_Area[7] = Green Select <gen>
-

Set Selection_Area[8] = Pink Select <gen>
-

Set Selection_Area[9] = Grey Select <gen>
-

Set Selection_Area[12] = Brown Select <gen>
-

Set Camera[1] = C red <gen>
-

Set Camera[2] = C Blue <gen>
-

Set Camera[3] = C Teal <gen>
-

Set Camera[4] = C Purple <gen>
-

Set Camera[5] = C Yellow <gen>
-

Set Camera[6] = C Orange <gen>
-

Set Camera[7] = C Green <gen>
-

Set Camera[8] = C Pink <gen>
-

Set Camera[9] = C Grey <gen>
-

Set Camera[12] = C Brown <gen>
-

Set Selector[1] = Hero Picker 0541 <gen>
-

Set Selector[2] = Hero Picker 0542 <gen>
-

Set Selector[3] = Hero Picker 0565 <gen>
-

Set Selector[4] = Hero Picker 0573 <gen>
-

Set Selector[5] = Hero Picker 0574 <gen>
-

Set Selector[6] = Hero Picker 0575 <gen>
-

Set Selector[7] = Hero Picker 0576 <gen>
-

Set Selector[8] = Hero Picker 0577 <gen>
-

Set Selector[9] = Hero Picker 0578 <gen>
-

Set Selector[12] = Hero Picker 0579 <gen>
-

Set Text_Area[1] = Text <gen>
-

Set Text_Area[2] = Text Copy <gen>
-

Set Text_Area[3] = Text Copy 2 <gen>
-

Set Text_Area[4] = Text Copy 3 <gen>
-

Set Text_Area[5] = Text Copy 4 <gen>
-

Set Text_Area[6] = Text Copy 5 <gen>
-

Set Text_Area[7] = Text Copy 6 <gen>
-

Set Text_Area[8] = Text Copy 7 <gen>
-

Set Text_Area[9] = Text Copy 8 <gen>
-

Set Text_Area[12] = Text Copy 9 <gen>
-

-------- This is just the test heroes, just replace type and description with ure own :) --------
-

Set Hero[1] = Builder
-

Set Hero_Description[1] = |c0021C000Pro: Builders can make Buildings which most other heroes can't.|r |c00FF0101Con: They aren't a very good single fighter.|r
-

Set Hero[2] = Male Colonist
-

Set Hero_Description[2] = |c0021C000Pro: Male Colonist is a good single hero, but can also have help from his abilitys.|r |c00FF0101Con: They can't build very many buildings.|r
-

Set Hero[3] = Female Colonist
-

Set Hero_Description[3] = |c0021C000Pro: Female Colonist can have babys who can grow up being a Footman or a Gardener.|r |c00FF0101Con: They aren't a very good single fighter and can't build many buildings.|r
-

Set Hero[4] = Trader
-

Set Hero_Description[4] = |c0021C000Pro: Traders can make weapons and sell them for gold.|r |c00FF0101Con: Can't make as much buildings as a builder and aren't very strong until they make their equipment.|r
-

Set Hero[5] = Explorer
-

Set Hero_Description[5] = |c0021C000Pro: Explorers can build many tower-like structures and are a good single fighter, but they can summon a Indian or a Ship.|r |c00FF0101Con: They can't build as much as a Builder.|r
-

Set Hero[6] = Indian Chief
-

Set Hero_Description[6] = |c0021C000Pro: Indian Chief can build alot of buildings and have first pick on Intermediary.|r |c00FF0101Con: Can't make as much buildings as a builder and they can only have the Indian religion.|r
-

-------- THIS ALWAYS HAVE TO BE THE EXACT NUMBER OF HEROES YOU ARE CHOOSING --------
-

Set Number_Of_Heroes = 6
-

-------- ------------------------------------------------------------------------------------------------------------------ --------
-


Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
-



Loop - Actions
-




Set Selection_Count[(Integer A)] = 1
-




Visibility - Create an initially Disabled visibility modifier for (Player((Integer A))) emitting Visibility across Selection_Area[(Integer A)]
-




Set Visibility[(Integer A)] = (Last created visibility modifier)
-




Unit - Hide Selector[(Integer A)]
-
-
-
-

-------- ------------------------------------------------------------------------------------------------------------------ --------
-


Do Multiple ActionsFor each (Integer Counter) from 1 to 12, do (Actions)
-



Loop - Actions
-




Custom script: set udg_X[udg_Counter] = GetRectCenterX(udg_Selection_Area[udg_Counter])
-




Custom script: set udg_Y[udg_Counter] = GetRectCenterY(udg_Selection_Area[udg_Counter])
-
-
-
-
-
Events
-

Time - Elapsed game time is 0.00 seconds
-
-
Actions
-

Set Force = (All players matching ((((Matching player) controller) Equal to (==) User) and (((Matching player) slot status) Equal to (==) Is playing)))
-

Player Group - Pick every player in Force and do (Actions)
-


Loop - Actions
-



Camera - Apply Camera[(Player number of (Picked player))] for (Picked player) over 1.50 seconds
-
-
-

Wait 2.00 seconds
-

Player Group - Pick every player in Force and do (Actions)
-


Loop - Actions
-



Set TempLoc0[(Player number of (Picked player))] = (Center of Selection_Area[(Player number of (Picked player))])
-



Set TempLoc1[(Player number of (Picked player))] = (Center of Text_Area[(Player number of (Picked player))])
-



Unit - Unhide Selector[(Player number of (Picked player))]
-



Selection - Select Selector[(Player number of (Picked player))] for (Picked player)
-



Set Selection_Count[(Player number of (Picked player))] = 1
-



Set CurrentHero[(Player number of (Picked player))] = (Last created unit)
-



Unit - Create 1 Hero[1] for (Picked player) at TempLoc0[(Player number of (Picked player))] facing ((Rotation of Camera[(Player number of (Picked player))]) + 180.00) degrees
-



Custom script: call UnitAddAbility(GetLastCreatedUnit(), 'Aloc')
-



Special Effect - Create a special effect attached to the origin of (Last created unit) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
-



Special Effect - Destroy (Last created special effect)
-



Unit - Pause (Last created unit)
-



Unit - Make (Last created unit) Invulnerable
-



Unit Group - Add (Last created unit) to RotateGroup
-



Set CurrentHero[(Player number of (Picked player))] = (Last created unit)
-



Floating Text - Create floating text that reads Hero_Description[1] at TempLoc1[(Player number of (Picked player))] with Z offset 0.00, using font size 10.00, color (100.00%, 75.00%, 25.00%), and 0.00% transparency
-



Set FloatingText[(Player number of (Picked player))] = (Last created floating text)
-



Floating Text - Set the velocity of FloatingText[(Player number of (Picked player))] to 20.00 towards 90.00 degrees
-



Floating Text - Change FloatingText[(Player number of (Picked player))]: Disable permanence
-



Floating Text - Create floating text that reads (Name of CurrentHero[(Player number of (Picked player))]) at TempLoc0[(Player number of (Picked player))] with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
-



Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-



Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
-



Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-



Floating Text - Change (Last created floating text): Disable permanence
-



Visibility - Enable Visibility[(Player number of (Picked player))]
-



Custom script: call RemoveLocation(udg_TempLoc0[GetConvertedPlayerId(GetEnumPlayer())])
-



Custom script: call RemoveLocation(udg_TempLoc1[GetConvertedPlayerId(GetEnumPlayer())])
-
-
-
-
Events
-

Unit - A unit Begins casting an ability
-
-
Conditions
-

(Ability being cast) Equal to (==) Next
-
-
Actions
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: local location XY = Location(udg_X[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],udg_Y[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
-

Set Number = (Player number of (Owner of (Triggering unit)))
-

-------- ------------------------------------------------------------------------------ --------
-


Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Selection_Count[Number] Greater than (>) (Number_Of_Heroes - 1)
-
-



Then - Actions
-




Set Selection_Count[Number] = 1
-
-



Else - Actions
-




Set Selection_Count[Number] = (Selection_Count[Number] + 1)
-
-
-
-

-------- ------------------------------------------------------------------------------ --------
-

Set TempLoc0[Number] = (Center of Selection_Area[Number])
-

Set TempLoc1[Number] = (Center of Text_Area[Number])
-

Unit Group - Remove CurrentHero[Number] from RotateGroup
-

Unit - Remove CurrentHero[Number] from the game
-

Set CurrentHero[Number] = No unit
-

-------- ------------------------------------------------------------------------------ --------
-

Unit - Create 1 Hero[Selection_Count[Number]] for (Owner of (Triggering unit)) at TempLoc0[Number] facing ((Rotation of Camera[Number]) + 180.00) degrees
-

Custom script: call UnitAddAbility(GetLastCreatedUnit(), 'Aloc')
-

Custom script: call UnitAddAbility(GetLastCreatedUnit(), 'A003')
-

Unit - Pause (Last created unit)
-

Unit - Make (Last created unit) Invulnerable
-

Unit Group - Add (Last created unit) to RotateGroup
-

Set CurrentHero[Number] = (Last created unit)
-

-------- ------------------------------------------------------------------------------ --------
-

Floating Text - Destroy FloatingText[(Player number of (Owner of (Triggering unit)))]
-

Custom script: set udg_FloatingText[udg_Number] = null
-

Floating Text - Create floating text that reads Hero_Description[Selection_Count[Number]] at TempLoc1[Number] with Z offset 0.00, using font size 10.00, color (100.00%, 75.00%, 25.00%), and 0.00% transparency
-

Set FloatingText[Number] = (Last created floating text)
-

Floating Text - Set the velocity of FloatingText[Number] to 20.00 towards 90.00 degrees
-

Floating Text - Change FloatingText[Number]: Disable permanence
-

-------- ------------------------------------------------------------------------------ --------
-

Floating Text - Create floating text that reads (Name of CurrentHero[Number]) at TempLoc0[Number] with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
-

Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-

Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
-

Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-

Floating Text - Change (Last created floating text): Disable permanence
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: call RemoveLocation(udg_TempLoc0[udg_Number])
-

Custom script: call RemoveLocation(udg_TempLoc1[udg_Number])
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: call RemoveLocation ( XY )
-

Custom script: set XY = null
-

-------- ------------------------------------------------------------------------------ --------
-
-
Unit - A unit Begins casting an ability
-
Conditions
-

(Ability being cast) Equal to (==) Previous
-
-
Actions
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: local location XY = Location(udg_X[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))],udg_Y[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
-

Set Number = (Player number of (Owner of (Triggering unit)))
-

-------- ------------------------------------------------------------------------------ --------
-


Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




Selection_Count[Number] Less than (<) 2
-
-



Then - Actions
-




Set Selection_Count[Number] = Number_Of_Heroes
-
-



Else - Actions
-




Set Selection_Count[Number] = (Selection_Count[Number] - 1)
-
-
-
-

-------- ------------------------------------------------------------------------------ --------
-

Set TempLoc0[Number] = (Center of Selection_Area[Number])
-

Set TempLoc1[Number] = (Center of Text_Area[Number])
-

Unit Group - Remove CurrentHero[Number] from RotateGroup
-

Unit - Remove CurrentHero[Number] from the game
-

Set CurrentHero[Number] = No unit
-

-------- ------------------------------------------------------------------------------ --------
-

Unit - Create 1 Hero[Selection_Count[Number]] for (Owner of (Triggering unit)) at TempLoc0[Number] facing ((Rotation of Camera[Number]) + 180.00) degrees
-

Custom script: call UnitAddAbility(GetLastCreatedUnit(), 'Aloc')
-

Custom script: call UnitAddAbility(GetLastCreatedUnit(), 'A003')
-

Unit - Pause (Last created unit)
-

Unit - Make (Last created unit) Invulnerable
-

Unit Group - Add (Last created unit) to RotateGroup
-

Set CurrentHero[Number] = (Last created unit)
-

-------- ------------------------------------------------------------------------------ --------
-

Floating Text - Destroy FloatingText[(Player number of (Owner of (Triggering unit)))]
-

Custom script: set udg_FloatingText[udg_Number] = null
-

Floating Text - Create floating text that reads Hero_Description[Selection_Count[Number]] at TempLoc1[Number] with Z offset 0.00, using font size 10.00, color (100.00%, 75.00%, 25.00%), and 0.00% transparency
-

Set FloatingText[Number] = (Last created floating text)
-

Floating Text - Set the velocity of FloatingText[Number] to 20.00 towards 90.00 degrees
-

Floating Text - Change FloatingText[Number]: Disable permanence
-

-------- ------------------------------------------------------------------------------ --------
-

Floating Text - Create floating text that reads (Name of CurrentHero[Number]) at TempLoc0[Number] with Z offset 0.00, using font size 10.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
-

Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-

Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
-

Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-

Floating Text - Change (Last created floating text): Disable permanence
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: call RemoveLocation(udg_TempLoc0[udg_Number])
-

Custom script: call RemoveLocation(udg_TempLoc1[udg_Number])
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: call RemoveLocation ( XY )
-

Custom script: set XY = null
-

-------- ------------------------------------------------------------------------------ --------
-
-
Events
-

Time - Every 0.03 seconds of game time
-
-
Actions
-

Unit Group - Pick every unit in RotateGroup and do (Actions)
-


Loop - Actions
-



Selection - Select Selector[(Player number of (Owner of (Picked unit)))] for (Owner of (Picked unit))
-



Camera - Apply Camera[(Player number of (Owner of (Picked unit)))] for (Owner of (Picked unit)) over 0.00 seconds
-



Custom script: call SetUnitFacing(GetEnumUnit(),GetUnitFacing(GetEnumUnit()) + 5)
-
-
-
-
Events
-

Unit - A unit Begins casting an ability
-
-
Conditions
-

(Ability being cast) Equal to (==) Select
-
-
Actions
-

-------- ------------------------------------------------------------------------------ --------
-

Set TempLoc0[(Player number of (Owner of (Triggering unit)))] = (Random point in Spawn <gen>)
-

Set TempLoc0_Copy[(Player number of (Owner of (Triggering unit)))] = (Random point in Spawn Medicine Man <gen>)
-

Selection - Clear selection for (Owner of (Triggering unit))
-

Floating Text - Destroy FloatingText[(Player number of (Owner of (Triggering unit)))]
-

Custom script: set udg_FloatingText[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))] = null
-

Unit - Hide Selector[(Player number of (Owner of (Triggering unit)))]
-

Unit Group - Remove CurrentHero[(Player number of (Owner of (Triggering unit)))] from RotateGroup
-

-------- ------------------------------------------------------------------------------ --------
-

Special Effect - Create a special effect attached to the origin of (Last created unit) using Abilities\Spells\Human\MassTeleport\MassTeleportTo.mdl
-

Set SE[(Player number of (Owner of (Triggering unit)))] = (Last created special effect)
-

Special Effect - Create a special effect attached to the origin of CurrentHero[(Player number of (Owner of (Triggering unit)))] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
-

Special Effect - Destroy (Last created special effect)
-

-------- ------------------------------------------------------------------------------ --------
-

Camera - Lock camera target for (Owner of (Triggering unit)) to CurrentHero[(Player number of (Owner of (Triggering unit)))], offset by (0.00, 0.00) using Default rotation
-

-------- ------------------------------------------------------------------------------ --------
-

Wait 1.30 seconds
-

-------- ------------------------------------------------------------------------------ --------
-

Special Effect - Destroy SE[(Player number of (Owner of (Triggering unit)))]
-

Special Effect - Create a special effect attached to the origin of CurrentHero[(Player number of (Owner of (Triggering unit)))] using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
-

Special Effect - Destroy (Last created special effect)
-

-------- ------------------------------------------------------------------------------ --------
-

Wait 0.30 seconds
-

-------- ------------------------------------------------------------------------------ --------
-

-------- You have to change where it spawns if you want this to fit in your map, its currently spawnign at random points in a region. --------
-


Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Unit-type of CurrentHero[(Player number of (Owner of (Triggering unit)))]) Equal to (==) Indian Chief
-
-



Then - Actions
-




Unit - Create 1 (Unit-type of CurrentHero[(Player number of (Owner of (Triggering unit)))]) for (Owner of (Triggering unit)) at TempLoc0_Copy[(Player number of (Owner of (Triggering unit)))] facing (Random real number between 0.00 and 360.00) degrees
-




Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.50 seconds
-




Camera - Pan camera for (Owner of (Triggering unit)) to TempLoc0_Copy[(Player number of (Owner of (Triggering unit)))] over 0.50 seconds
-




Visibility - Disable Visibility[(Player number of (Owner of (Triggering unit)))]
-




Set HeroCountIndian = (HeroCountIndian + 1)
-




Multiboard - Set the icon for Multiboard item in column 1, row ((Player number of (Triggering player)) + 1) to ReplaceableTextures\CommandButtons\BTNHeadHunterBerserker.blp
-




Game - Display to (All players) the text: HELL_YA: Someone ha...
-




Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) of type Religion Picker) and do (Actions)
-





Loop - Actions
-






Unit - Explode (Picked unit)
-






Unit - Create 1 Indian Beliefs for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing (Random real number between 0.00 and 360.00) degrees
-
-
-
-



Else - Actions
-




Unit - Create 1 (Unit-type of CurrentHero[(Player number of (Owner of (Triggering unit)))]) for (Owner of (Triggering unit)) at TempLoc0[(Player number of (Owner of (Triggering unit)))] facing (Random real number between 0.00 and 360.00) degrees
-




Camera - Reset camera for (Owner of (Triggering unit)) to standard game-view over 0.50 seconds
-




Camera - Pan camera for (Owner of (Triggering unit)) to TempLoc0[(Player number of (Owner of (Triggering unit)))] over 0.50 seconds
-




Visibility - Disable Visibility[(Player number of (Owner of (Triggering unit)))]
-




Trigger - Run White Select <gen> (ignoring conditions)
-
-
-


Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




HeroCountIndian Equal to (==) 1
-
-



Then - Actions
-




Set Hero[6] = Builder
-




Set Hero_Description[6] = |c0021C000Pro: Builders can make Buildings which most other heroes can't.|r |c00FF0101Con: They aren't a very good single fighter.|r
-
-



Else - Actions
-
-
-

-------- ------------------------------------------------------------------------------ --------
-

Special Effect - Create a special effect attached to the origin of (Last created unit) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
-

Special Effect - Destroy (Last created special effect)
-

-------- ------------------------------------------------------------------------------------------- --------
-

-------- Just Removing Some Variables --------
-

Unit Group - Remove CurrentHero[(Player number of (Owner of (Triggering unit)))] from RotateGroup
-

Unit - Remove CurrentHero[(Player number of (Owner of (Triggering unit)))] from the game
-

Set Selection_Count[(Player number of (Owner of (Triggering unit)))] = 1
-

Set CurrentHero[(Player number of (Owner of (Triggering unit)))] = No unit
-

-------- ------------------------------------------------------------------------------ --------
-

Custom script: call RemoveLocation(udg_TempLoc0[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
-

-------- ------------------------------------------------------------------------------ --------
-

