you should be able to know which unit is highest prio in which tab (units with index of unitgroup > max selection and < max selection*2 = tab 2). dont know if there is an event for the tab button but maybe you can hook it and use the button pressed event.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Any idea on how to detect the Unit type of the priority units (the ones whose abilities show on the command card) a player has selected?
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
No ideas, do I have to pseudo do it using select unit and player press key detection.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
you can iterate through all selected units and check with catalogs for highest prio?
@FunkyUserName: Go
The issue with that is if the player tabs through their unit types it'll be wrong.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
you should be able to know which unit is highest prio in which tab (units with index of unitgroup > max selection and < max selection*2 = tab 2). dont know if there is an event for the tab button but maybe you can hook it and use the button pressed event.