I just need and action to stop unit train... anyone know what/ where one is?
Here my trigger and i just need to stop the training once the unit is creat... will make instant build...
Units
Events
Unit - A unit owned by Player 1 (Red) Begins training a unit
Unit - A unit owned by Player 2 (Blue) Begins training a unit
Unit - A unit owned by Player 3 (Teal) Begins training a unit
Unit - A unit owned by Player 4 (Purple) Begins training a unit
Unit - A unit owned by Player 5 (Yellow) Begins training a unit
Unit - A unit owned by Player 6 (Orange) Begins training a unit
Unit - A unit owned by Player 7 (Green) Begins training a unit
Unit - A unit owned by Player 9 (Gray) Begins training a unit
Conditions
Actions
Unit - Create 1 (Trained unit-type) for (Triggering player) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees
232 posts California (the center of the world) joined
#2
multiple ways to fix,
you could make the building sell items, with the units icons, and say item is sold, create unit.
or you could issue and order to stop, but not sure if the order will work.
why not just make the unit not take so long to train?
edit: i read your other post, just use items. create an item with unit info and unit icon, and make the building able to sell that item. set teh gold and lumber cost, and delete the item abilities. also, delete the item buff or effect, and make it a power up. then do trigger: generic or specific unit sell an item (from shop) item type = the item to each unit create unit at facing
so there is or isent an action for stoping unit trainig?
- I am trying to do this trigger to make the unit build instant thus im am doing it to get around the 1 second time between when a unit stops staining and when the next start...
232 posts California (the center of the world) joined
#4
if there is, its order unit to stop, or some custom string that i dont know. but items work great, because you can delay the trigger and set cool downs for the items.
im trying to make it so that once i click on an icon a unit matching the icon would be created with no cooldown of the icont makeing it so that it can be repepeeated without any time in between...
This is what i have and item is base on Glyph of Ultravision and is sold from a barracks...
Units Copy Events Unit - A unit owned by Player 1 (Red) Sells an item (from shop) Unit - A unit owned by Player 2 (Blue) Sells an item (from shop) Unit - A unit owned by Player 3 (Teal) Sells an item (from shop) Unit - A unit owned by Player 4 (Purple) Sells an item (from shop) Unit - A unit owned by Player 5 (Yellow) Sells an item (from shop) Unit - A unit owned by Player 6 (Orange) Sells an item (from shop) Unit - A unit owned by Player 7 (Green) Sells an item (from shop) Unit - A unit owned by Player 9 (Gray) Sells an item (from shop) Conditions Actions Unit - Create 1 (Trained unit-type) for (Triggering player) at (Position of (Triggering unit)) facing Default building facing (270.0) degrees