• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to use still "being trained unit" as preset

Status
Not open for further replies.
Level 17
Joined
Aug 19, 2007
Messages
1,380
Hi again, a preset is something like casting unit/killing unit/killed unit/attacking unit etc. I want to make a trigger that when I train an unit and I've to few resources (e.g. gold) that the trigger cancels the "still being trained unit". Does anybody which preset I can choose for this or if I can use a similar trigger for this? All ideas/suggestions are welcome!
 
Level 18
Joined
Sep 27, 2005
Messages
2,069
this comes to mind

Unit - A unit Begins training a unit

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 1 (Red) Current gold) Less than 100
Then - Actions
again i would try replacing it I don't know if there is a preset
unit set construction speed of
Else - Actions
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
You can give cancel training order by Unit - Issue Order with no target
well if there is no cancel there
PurplePoot knows how to order cancel
PM him
 
Status
Not open for further replies.
Top