An ability at the Orbital Command applies a buff to a Terran production structure.
The buff lasts forever.
That structure can now produce 2 units at the same time. (Like a Reactor)
As soon as it starts to produce 2 units, and one of them finishes, the buff is removed. So the structure can only produce 1 unit again.
This buff is basically a one-time-Reactor.
How can the buff be removed after 2 units have started being produced? Any way to make this in the data editor?
Probably need a priming system that when there is a queue of less than two a buff is disabled but when two are trained at once it removes itself and applies a second buff that is enabled when training less than two at once which then removes itself and the reactor buff.
The Unit Compare Order Count type validator is what you need.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
An ability at the Orbital Command applies a buff to a Terran production structure. The buff lasts forever. That structure can now produce 2 units at the same time. (Like a Reactor) As soon as it starts to produce 2 units, and one of them finishes, the buff is removed. So the structure can only produce 1 unit again. This buff is basically a one-time-Reactor.
How can the buff be removed after 2 units have started being produced? Any way to make this in the data editor?
Probably need a priming system that when there is a queue of less than two a buff is disabled but when two are trained at once it removes itself and applies a second buff that is enabled when training less than two at once which then removes itself and the reactor buff.
The Unit Compare Order Count type validator is what you need.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg