• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Tiny Castle Help

Status
Not open for further replies.
Level 16
Joined
Mar 27, 2011
Messages
1,348
I'm not entirely sure if this is what your after:

  • Unit Enters Map
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
    • Actions
If not, please explain what you want further.
 

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
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.
 
Level 16
Joined
Mar 27, 2011
Messages
1,348
Well,

  • Unit Enters Map
  • Events
    • Unit - A unit enters (Playable map area)
  • Conditions
    • (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.
 
Level 16
Joined
Mar 27, 2011
Messages
1,348
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...
 
Status
Not open for further replies.
Top