not sure but the first place I would look is in the data editor (in the advanced section) in fact I don't think anyone has ever thought of messing with that section yet.
I found that if you make a trigger like this it works, but has about .5 sec time where the players selection keeps, gonna see if there is a way to get rid of that
Event - Any Unit is Selected by player 1
Condition - 2 <= Number of Living units in (Selected untis ofr player (triggeringplayer))) <= 10000
Actions - Deselect all units for player 1
Select (unit 1 from (Selected units for play1)) for player 1
I just used 10,000 as infinity, not sure if you can do a compare with infinity in the galaxy editor or maybe just a greater than :/
Deselect > 12 Units
Options: Action
Return Type: (None)
Parameters
Player = 0 <Integer>
Grammar Text: Deselect > 12 Units(Player)
Hint Text: (None)
Custom Script Code
Local Variables
n = (Number of Living units in (Selected units for player Player)) <Integer>
i = 12 <Integer>
Actions
General - While (Conditions) are true, do (Actions)
Conditions
n > i
Actions
Unit Selection - Deselect (Unit n from (Selected units for player Player)) for player Player
Variable - Modify n: - 1
there is no way to do it data wise as far as i recall. i've gone through the entire data editor 1000 times looking for it.
triggers have problems with lag however
Hey. Is there a way to create a cap of max. amoutn of selected units at a time?
not sure but the first place I would look is in the data editor (in the advanced section) in fact I don't think anyone has ever thought of messing with that section yet.
I found that if you make a trigger like this it works, but has about .5 sec time where the players selection keeps, gonna see if there is a way to get rid of that
Event - Any Unit is Selected by player 1 Condition - 2 <= Number of Living units in (Selected untis ofr player (triggeringplayer))) <= 10000 Actions - Deselect all units for player 1 Select (unit 1 from (Selected units for play1)) for player 1
I just used 10,000 as infinity, not sure if you can do a compare with infinity in the galaxy editor or maybe just a greater than :/
Deselect > 12 Units
Options: Action
Return Type: (None)
Parameters
Player = 0 <Integer>
Grammar Text: Deselect > 12 Units(Player)
Hint Text: (None)
Custom Script Code
Local Variables
n = (Number of Living units in (Selected units for player Player)) <Integer>
i = 12 <Integer>
Actions
General - While (Conditions) are true, do (Actions)
Conditions
n > i
Actions
Unit Selection - Deselect (Unit n from (Selected units for player Player)) for player Player
Variable - Modify n: - 1
there is no way to do it data wise as far as i recall. i've gone through the entire data editor 1000 times looking for it.
triggers have problems with lag however
boss at preventing the 200 A1 attack move = maverk
look for it in LoV, blizz will make it a selectable option in the menu ;-p
funsies aside, you guys are awesome for sharing