I want to make a condition in the data editor, that its just possible to have 3 tanks on the field.
I managed this so far, but just for the tank-mode unit, if you siege the tanks, then you can build 3 again.
So i made a condition for 3 tank mode and 3 siege mode tanks, but you can still build another tank if you have 2 unsieged and 1 sieged tank etc.
Im sorry if i explained this wrong, im german and i have the german editor. :/
well the only thing i can think of is to make a condition that limits the 3 tank and 3 siege, 3s:0t, 0s:3t, 1s:2t, 2s:1t, this would be my first thought.
Just make a buff called Requires less than 3 Siege Tanks and put that on the factory. Give your train ability a requirement that counts the buff completed at the unit and the buff the requirement you already have made. That way when you have 3 siege tanks queued or better the buff disables stopping you from making more siege tanks. It should look better text wise.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
[Solved]
Hello,
I want to make a condition in the data editor, that its just possible to have 3 tanks on the field. I managed this so far, but just for the tank-mode unit, if you siege the tanks, then you can build 3 again.
So i made a condition for 3 tank mode and 3 siege mode tanks, but you can still build another tank if you have 2 unsieged and 1 sieged tank etc. Im sorry if i explained this wrong, im german and i have the german editor. :/
Pls help me.
EDIT: i think its called requirements sorry
well the only thing i can think of is to make a condition that limits the 3 tank and 3 siege, 3s:0t, 0s:3t, 1s:2t, 2s:1t, this would be my first thought.
I dont understand >_<
if i would write 1 tanked 2 sieged, then i would have to siege the tank to build another, or am i wrong?
ok i figured it out. the sum of sieged tanks and unsieged tanks 2 or lower to build tanks.
(CountUnit(SiegeTankSieged,QueuedOrBetter){Nicht mehr als 3 Tanks.} + CountUnit(SiegeTank,QueuedOrBetter)) <= 2
in the button the text is a little weird, but it works :D
Just make a buff called Requires less than 3 Siege Tanks and put that on the factory. Give your train ability a requirement that counts the buff completed at the unit and the buff the requirement you already have made. That way when you have 3 siege tanks queued or better the buff disables stopping you from making more siege tanks. It should look better text wise.
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