Hi guys, I hope that someone can help me! If you remember in Warcraft 3, A hero can always be selected alone in the info panel,even if you have 2 or 3 times the same hero. So I want to know if it is possible to do that in Starcraft 2 (and if it is possible to change the hero name too) because if you have the same type of unit in the group, they are all selected together and you cannot have access to the second or the third unit skills and stats.
If not, I want to make a blue selection circle around the first unit in the group, and if I activated it with a trigger, this circle change its place from another unit in this group so I can have access to his skills and stats via a dialog box (because if you select more than 1 unit at the time, the info panel just show the unit group and not their individual properties).
The reason is simple, I make a RTS that each unit is a hero with skills and inventory.
Thank you guys for future help!! (custom UI or trigger example could be placed here)
I know that but it cycle through different unit type, so I want to select individually each unit, even if they are the same unit type. For example, if I have 10 marines with 10 differents skills, I want to make a second selection circle that can spot the first or the second marine with his unique stats and skills, like the info panel when you select only one unit.
@tatatatate: Go Yeah, that's different. I don't know if that's possible, but I know you could give your units the 'selection' type of ability command, so the unit showing it's command card would display some of the abilities it doesn't have, but the other units do. Not a perfect solution to what you want but better than nothing.
there is a datafield which manages whether or not the units are of the same type. If I remember correctly leaving this field blank will cause them to always be seen as different unit types even though they're the same unit type. I don't know the name of this data field right away, but it is listed at the unit data.
I do some tests about subgroup and select alias and the subgroup determine differences between unit type, so if I put (none) to that field, I cannot select the unit anymore.
I don't know what to do with the select alias and I tried with the actor aliases, and nothing works so I don't know what to do with the same unit type :P
finally had some time to check in the sc2editor. I haven't got time to run tests but there is a unit flag named "Individual subgroups" which might do the trick. guess I remembered the other thing wrong.
And I'm asking to myself if it is possible to put the main selection circle to another color (like blue for center circle and green for the other). It will be easier to see your selected unit in the group.
Do you know if it is possible to switch the unit type by pressing a key (example, if you press tab, you will switch the next unit and if you press A, you will switch to the next unit type).
To change the circle color, I need to go to the Game UI Data and change the subgroup color in selection data to blue, and then I need to change the 'unit border subgroup color' in the actor data (to change the color of the square in the info panel).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi guys, I hope that someone can help me! If you remember in Warcraft 3, A hero can always be selected alone in the info panel,even if you have 2 or 3 times the same hero. So I want to know if it is possible to do that in Starcraft 2 (and if it is possible to change the hero name too) because if you have the same type of unit in the group, they are all selected together and you cannot have access to the second or the third unit skills and stats.
If not, I want to make a blue selection circle around the first unit in the group, and if I activated it with a trigger, this circle change its place from another unit in this group so I can have access to his skills and stats via a dialog box (because if you select more than 1 unit at the time, the info panel just show the unit group and not their individual properties).
The reason is simple, I make a RTS that each unit is a hero with skills and inventory. Thank you guys for future help!! (custom UI or trigger example could be placed here)
@tatatatate: Go you can have access to other units stats and abilities, just press TAB to cycle through your selected units.
@SoulFilcher: Go
I know that but it cycle through different unit type, so I want to select individually each unit, even if they are the same unit type. For example, if I have 10 marines with 10 differents skills, I want to make a second selection circle that can spot the first or the second marine with his unique stats and skills, like the info panel when you select only one unit.
@tatatatate: Go Yeah, that's different. I don't know if that's possible, but I know you could give your units the 'selection' type of ability command, so the unit showing it's command card would display some of the abilities it doesn't have, but the other units do. Not a perfect solution to what you want but better than nothing.
@tatatatate: Go
there is a datafield which manages whether or not the units are of the same type. If I remember correctly leaving this field blank will cause them to always be seen as different unit types even though they're the same unit type. I don't know the name of this data field right away, but it is listed at the unit data.
@Helral: Go Interesting, that's probably Subgroup Alias, or maybe Select Alias. Didn't think it could be left blank.
@SoulFilcher: Go
I do some tests about subgroup and select alias and the subgroup determine differences between unit type, so if I put (none) to that field, I cannot select the unit anymore. I don't know what to do with the select alias and I tried with the actor aliases, and nothing works so I don't know what to do with the same unit type :P
@tatatatate: Go
finally had some time to check in the sc2editor. I haven't got time to run tests but there is a unit flag named "Individual subgroups" which might do the trick. guess I remembered the other thing wrong.
@Helral: Go
Man you are amazing! That is just I need!
If you want a new challenge, I've got another question that is still not answered. Here is the adress :
http://www.sc2mapster.com/forums/development/data/34829-add-on-problems/#p1
And I'm asking to myself if it is possible to put the main selection circle to another color (like blue for center circle and green for the other). It will be easier to see your selected unit in the group. Do you know if it is possible to switch the unit type by pressing a key (example, if you press tab, you will switch the next unit and if you press A, you will switch to the next unit type).
@tatatatate: Go
Finally got it!
To change the circle color, I need to go to the Game UI Data and change the subgroup color in selection data to blue, and then I need to change the 'unit border subgroup color' in the actor data (to change the color of the square in the info panel).