• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Breaking Buffs Detect ?

Status
Not open for further replies.

hdm

hdm

Level 9
Joined
Nov 19, 2011
Messages
384
How to make a unit move instantly to the place I want 2 seconds after it breaks Invisible buff ? Main problem here is to detect when the buff is gone, and I wont use "Unit is attacked" because inv can be broken without attacking :/, like casting skills for example (I wont use cast a spell too).

Well if there is no other way I can do this, I'll use the cast spell or attack event anyway :/
 
Level 23
Joined
Feb 6, 2014
Messages
2,466
Or you can use the Event - A unit is issued an order targeting a point, a unit, and no target and having the condition "If Unit has Buff Invisibility". That way, it is efficient and you don't need your computer to check periodically reducing lag.

Note: This only works with invisibility since is it removed when a unit is issued an order.
 
Status
Not open for further replies.
Top