• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Buff expiration check {killing a unit after buff expires}

Status
Not open for further replies.
With tags;

  • Trigger1
  • Events
    • Unit - A unit starts the effect of an ability
  • Conditions
    • Ability being cast equal to (Your buff placer)
  • Actions
    • Unit Group - Add (Target unit of ability being cast) to (Your unit group variable)
  • Trigger2
  • Events
    • Time - Every .05 seconds of game time
  • Conditions
  • Actions
    • Pick every unit in (Your unit group variable) and do IF unit has buff (Your buff) equal to False, THEN kill (Picked unit) AND remove (Picked unit) from (Your unit group variable), ELSE do nothing
 
I've never had an issue with periodic triggers over .03 seconds, unless many of them are used at once; I find .05 to be safe as long as it's used sparingly.
 
Nah I made spells with triggers grouping units in area 3 times at same time per 0.035 seconds
its completly fine
 
Status
Not open for further replies.
Back
Top