is there a way to prevent same type selection? The selection by double click or by ctrl + click? I heard something about aliases in the Data Editor, though trying out things didn't help, because if I switch off the alias, the unit can't be clicked at all.
first point I need to mention: your question does not affect User Interface but game-play. so it should be under either trigger/data/misc. I will move it to the Misc section.
is there a way to prevent same type selection? The selection by double click or by ctrl + click? I heard something about aliases in the Data Editor, though trying out things didn't help, because if I switch off the alias, the unit can't be clicked at all.
ty
Greetz, Shianky
now to your question. the Selection Alias in the data editor is used to determine which other unit types are also selected when you double-click/ctrl-click an unit. It doesn't adjust selection of units of the the same unit type. (e.g. multiple zealots)
I think the best solution would be having a trigger which triggers on unit selection, and then restricts the selection to 1 unit orso. There might be another solution though.
Thanks for your replay and sorry about the wrong section.
For triggering:
I tried this one already. It is too slow. There is a short, barely visible moment the trigger needs to be triggered. If one clicks during this exact moment, the 1st index unit from the selected unit group will be set as the one i want to be set instead the unit that was clicked.
So there is really no way to disable it in the Data Editor? Because for example enemy units can't be selected that way. The question is, where that is achieved.
Edit: Ok, in my case, there is an other way, I could probably solve the problem, though I can't find the right condition for that. What I need is to check if the unit is commandable. Is there something I've overseen?
Hi,
is there a way to prevent same type selection? The selection by double click or by ctrl + click? I heard something about aliases in the Data Editor, though trying out things didn't help, because if I switch off the alias, the unit can't be clicked at all.
ty
Greetz, Shianky
first point I need to mention: your question does not affect User Interface but game-play. so it should be under either trigger/data/misc. I will move it to the Misc section.
now to your question. the Selection Alias in the data editor is used to determine which other unit types are also selected when you double-click/ctrl-click an unit. It doesn't adjust selection of units of the the same unit type. (e.g. multiple zealots)
I think the best solution would be having a trigger which triggers on unit selection, and then restricts the selection to 1 unit orso. There might be another solution though.
@Helral: Go
Thanks for your replay and sorry about the wrong section.
For triggering:
I tried this one already. It is too slow. There is a short, barely visible moment the trigger needs to be triggered. If one clicks during this exact moment, the 1st index unit from the selected unit group will be set as the one i want to be set instead the unit that was clicked.
So there is really no way to disable it in the Data Editor? Because for example enemy units can't be selected that way. The question is, where that is achieved.
Edit: Ok, in my case, there is an other way, I could probably solve the problem, though I can't find the right condition for that. What I need is to check if the unit is commandable. Is there something I've overseen?