- Joined
- Jun 25, 2009
- Messages
- 427
Hey guys, i need your help, see i want to set hero icons pretty simple, i have a trigger that looks something like this.
Hero_Icons-String variable with [1-24] ReplaceableTextures/etc/etc.blp
Player_Row[1-12] is variable (integer) with [1]=2, [2]=3, etc
And yeah, i set the point values of the heroes in the (Object Editor)
By the way, this stuff only shows green bars >.>
Regards,
Tiche3
(+rep will be given for sure)
-
Actions:
-
Set Unit_Group=(Units in (Playable Map Area) owned by (Triggering Player)
-
Unit Group - Pick (All units in Unit_Group) and (Do actions):
-
Loop - Actions:
-
If (All Conditions are True) then (Do Actions) else (Do Actions):
-
If - Conditions:
-
(Picked Unit) is a Hero equal to True
-
-
Then - Actions:
-
Multiboard - Set the icon in Multiboard column 1 row Player_Row[Player Number of (Triggering Player)] to Hero_Icons[(Point-Value of (Picked Unit))]
-
-
Else - Actions:
-
-
-
-
Custom script: call DestroyGroup(udg_Unit_Group)
-
Hero_Icons-String variable with [1-24] ReplaceableTextures/etc/etc.blp
Player_Row[1-12] is variable (integer) with [1]=2, [2]=3, etc
And yeah, i set the point values of the heroes in the (Object Editor)
By the way, this stuff only shows green bars >.>
Regards,
Tiche3
