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

Status
Not open for further replies.
Level 22
Joined
Mar 16, 2008
Messages
1,017
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)
 
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:
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.
Back
Top