Unit Upgrade time set to 0..

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Dman
Newcomer
Posts: 1
Joined: April 17th, 2009, 6:53 pm

Unit Upgrade time set to 0..

Post by Dman »

Hi,
I want to make the building time of units to 0... like in GreenTD Apocalypse...
How can I do it?

Thanks!
User avatar
Syre
Forum Staff
Posts: 506
Joined: November 17th, 2008, 3:49 pm

Re: Unit Upgrade time set to 0..

Post by Syre »

Quite simple really...

Upgrades/Research :

Code: Select all

Untitled Trigger 001
    Events
        Unit - A unit Begins research
    Conditions
        (Researched tech-type) Equal to Iron Forged Swords
    Actions
        Unit - Set (Researching unit) upgrade progress to 100%


Units :

Code: Select all

Untitled Trigger 001
    Events
        Unit - A unit Begins training a unit
    Conditions
        (Trained unit-type) Equal to Footman
    Actions
        Unit - Set (Triggering unit) upgrade progress to 100%


Buildings :

Code: Select all

Untitled Trigger 007
    Events
        Unit - A unit Begins construction
    Conditions
        (Unit-type of (Constructing structure)) Equal to Scout Tower
    Actions
        Unit - Set (Triggering unit) construction progress to 100%

Of course, in any of these cases, the Condition can be removed completely to work for anything of the type to be constructed immediately.
Image