My problem is, that I do not want the building progress being cancelled if the unit beeing build is a worker. How can I do that?
I tested conditions like the following ones but it does not work
CancelUnitBuildEventsUnit-AnyUnittrainingprogressisStartedLocalVariablesConditionsbuild_units_only==falseActionsUnit-Cancelprogressbarof((Triggeringunit))slot1UI-Display"You can't train units right now!"for(Playergroup((Ownerof(Triggeringunit))))toSubtitlearea
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
My problem is, that I do not want the building progress being cancelled if the unit beeing build is a worker. How can I do that? I tested conditions like the following ones but it does not work
Here is the code of my trigger: