• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] how do i cheak if a unit has a buff

Status
Not open for further replies.
Level 11
Joined
Sep 12, 2008
Messages
657
hey, im trying to make a spell that cheaks if a unit has a buff,
and if it does have the buff, to move to the target unit.. and if not, to do nothing..
thanks in advance.. (sorry if its a stupid question :/, im still new with spells)

Edit: ops, solved... i didnt cheak in bolean.. err thanks anyways o_O
 
Level 4
Joined
Apr 20, 2009
Messages
106
Condition->Boolean Comparison->Unit Has Specific Buff

A quick example looks like this
  • ((Triggering unit) has buff Anti-magic Shell) Equal to True
 
Status
Not open for further replies.
Top