• 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.

[Trigger] Ability Based off 'Build Tiny Scout Tower'

Status
Not open for further replies.
Level 21
Joined
Mar 16, 2008
Messages
955
Trying to put limited duration on the towers, not sure what event response to use. Constructed structure doesn't seem to work. So I just made this trigger but worried it will cause a slight lag when lots of units are spawning.

  • tower trained
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Level of Peasant Tower (Hidden Class Ability) for (Entering unit)) Equal to 1
    • Actions
      • Unit - Add a 300.00 second Generic expiration timer to (Entering unit)
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,870
Are you using that Event elsewhere? I'd be surprised if not. Anyway, it's not that heavy of an operation. Also, I recommend using (Triggering unit) instead of (Entering unit) whenever possible.

And when an ability creates a unit it never "constructs" it, that's reserved for workers. An ability would summon the unit:
  • Events
    • Unit - A unit Spawns a summoned unit
 
Last edited:
Level 21
Joined
Mar 16, 2008
Messages
955
I tried that event and "summoned unit" event response and it didn't seem to do anything. Maybe because it had a construction time?

UPDATE: the one based off 'enters map' doesn't work either. maybe it's a problem with the construction time?
 
Last edited:
Status
Not open for further replies.
Top