This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
On my map I want the training time for units to be faster while under certain conditions, and regular training time under other conditions.
Are there any way to accomplish this without having to create two sets of every unit in the tech-tree?
I'm interested too, I can't figure out how to do it.
I tried this (with maximum simplification to avoid mistakes) :
creat Events Game - Player Any Player types a chat message containing "time", matching Exactly Local Variables Conditions Actions Unit - Add 5.0 seconds to cooldown Abil/NexusTrain on ability (Ability of Nexus - Warp In Probe) on unit Nexus [83.50, 29.50]
And that didn't work, what is wrong with this ?
Catalogs is the best way to do this. Here I have set up my barracks to add 5 seconds to the marine training time each time a marine is completed.
Unit is completed. Add 5 second cd Events Unit - Any Unit training progress is Completed Local Variables Conditions (Unit type of (Triggering progress unit)) == Marine Actions Catalog - Set value of Abilities BarracksTrain InfoArray[0].Time for player (Triggering player) to (String(((Value of Abilities BarracksTrain InfoArray[0].Time for player (Triggering player) as an integer) + 5)))
@DarlD: Go
Thanks DarlD ! That is exactly what I wanted ! I never heard about Catalog before.
I think njordys if you come back here you will find your answer, problem solved !
On my map I want the training time for units to be faster while under certain conditions, and regular training time under other conditions.
Are there any way to accomplish this without having to create two sets of every unit in the tech-tree?
I'm interested too, I can't figure out how to do it.
I tried this (with maximum simplification to avoid mistakes) :
And that didn't work, what is wrong with this ?
Catalogs is the best way to do this. Here I have set up my barracks to add 5 seconds to the marine training time each time a marine is completed.
@DarlD: Go
Thanks DarlD ! That is exactly what I wanted ! I never heard about Catalog before.
I think njordys if you come back here you will find your answer, problem solved !