Eh the question is rather simple, is there a mechanism that would work like
Unit "Barracks" select[/code] which has the same effect as if you clicked your barracks (frame around the building, build menu in menu bar).
If that is possible, can it be done if those rax were not named?
Like
[code]If player "player" has greater than 0 structures of the type "Barracks"
Then Select one of them
My idea is to script some events, that go like:
- Player triggers event
- Some new unit is transferred to player
- Some specific upgrade button for those units is added to one of player's buildings
- To show that, the building gets selected, and the cameo of the newly added upgrade cameo starts flashing. (Cameo = command button in a build menu)
The first 3 steps are quite easy to do, i just was not able yet to figure out the last one.
Edited by user
16 years ago |
Reason: Not specified