• 🏆 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!

[Spell] Help with target spell

Status
Not open for further replies.
Level 2
Joined
Jan 16, 2008
Messages
10
I need a spell that can target both Trees (Destructibles) and Units, so when i use it on a tree it triggers the Sentinel spell, and when i use it on a specific unit it transforms it.
I know how to trigger it not using jass, but i cannot find a spell that can be cast on both types of targets.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Try purge. Although I think you cant actually cast it on a tree that doesnt have an owl on it. In that case you'd need to catch the order and order your unit to cast in a dummy unit while having the dummy cast the spell on the tree.

Edit: Hmm, so you can target a tree in the fog. But once you get there if it doesn't have an owl it doesn't let the order go through.

Edit 2: Okay so Eat Tree with it's targets changed lets you target both. Only issue is your right click becomes "Eat tree" but that can be caught through the smart order and you can issue an attack order rather than the eat tree order.
 
Last edited:
Status
Not open for further replies.
Top