Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Is there a way to instantly detect the unit being built by Tiny Castle? As in without having to wait 0.00 seconds, then picking every unit of type within a 1.00 range of the target point?
I think this is what his mean:
He want to detect the building that was build by the effect of the Tiny Castle Ability.
I dont know if the building that was build by the effect of the tiny castle ability is consider as the event Unit start constructing or not. But if it is, there will be a very simple way to do it.
If it was constructing unit, it would be so easy... But what I mean is that I have a unit with the ability Tiny Castle, and the moment the unit casts Tiny Castle, I want to do something to the Castle that is being constructed.
(Unit-type of (Triggering unit)) Equal to Town Hall
Actions
Unit - Order (Triggering Unit) to tauron - war stomp
That trigger detects the unit that entered the map (the town hall summoned by the "Tiny Castle"
ability. Then you can give it any orders you like, such as casting an ability or even training a peasant.
Well, if you made a trigger to do something when the ability is cast, you cannot reference the summoned unit. This means you cant do anything with the summoned unit. You could however do something to the unit that is casting the spell.
Tiny Castle
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Build Tiny Castle
Actions
Unit - Order (Triggering unit) to Orc Tauren Chieftain - War Stomp
But I think you need to explain the concept and purpose of your trigger if you want us to actually help you any further...
There's nothing else to explain, really. I guess I'll just use what I've been doing before, a really short wait, then getting the unit, as I can pick all units at the target point of the ability.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.