I have a hero that has a pet (based upon Misha rexxar skill). Now I want to have a skill that will check the distance between the pet and the hero (much like dota's sylla bear and his bear). So if the heroes are in range they will have certain buffs. Now the trigger is not a problem I guess. Periodic check between distances and if in range add stuff i want.
The thing i have problem with is how do I detect the bear? In the real comparasion I can't select unit type and I'm not sure how can I put the pet into a variable. I might be missing some obvious but I got stuck :|
halp.
EDIT: not sure if it works that once I use the skill for summon I set a variable pet = last created unit? Will it work?
The thing i have problem with is how do I detect the bear? In the real comparasion I can't select unit type and I'm not sure how can I put the pet into a variable. I might be missing some obvious but I got stuck :|
halp.
EDIT: not sure if it works that once I use the skill for summon I set a variable pet = last created unit? Will it work?