[Trigger] make building stop training unit action

Status
Not open for further replies.
Level 16
Joined
Jul 21, 2008
Messages
1,121
You can't stop it, but you can make it with replace unit.

Implement this trigger and edit it to your needs.

  • Stop Research
    • Events
      • Unit - A unit Begins research
      • Unit - A unit Begins training a unit
    • Conditions
    • Actions
      • Unit - Replace (Triggering unit) with a (Unit-type of (Triggering unit)) using The old unit's relative life and mana
      • Selection - Add (Last replaced unit) to selection for (Owner of (Triggering unit))
This trigger replaces researched unit with same unit and adds it to selection. When replacing, research/training will be stopped.

Of course, gold/lumber cost is ignored.
 
Status
Not open for further replies.
Top