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

Making an ability able to target trees.

Status
Not open for further replies.
Level 2
Joined
Jun 28, 2009
Messages
22
try to check targets allowed - tree, alive, dead - and nothing else, and make sure your tree (if custom) is categorized as destructible...
give rep...:D
 
The problem is, it does actually destroy the tree, which isn't good, but I suppose I can stop that with some nifty triggering. I want it to be able to target units as well, however. Is there any way I can make Eat Tree able to target units AND trees? I tried basing it off Harvest (Gold and Lumber), the default gather ability, but the problem there is that it can only target units with the Gold Mine ability, which isn't exactly what I want.
 
Status
Not open for further replies.
Top