| 05-28-2006, 12:11 AM | #1 |
I'm trying to make a spell that targets only trees. I based it off of channel with allowed targets: alive, dead, tree. However, I can't actually target trees. Whenever i try to click on a tree, it says "Must Target a Tree". I ended up using Force of Nature with a short radius but it looks weird with the circle instead of the crosshair... Any way to make a tree targetable spell? |
| 05-28-2006, 12:23 AM | #2 |
You could try looking at 'eat tree', the night elf building ability. That one targets only trees. |
| 05-28-2006, 12:30 AM | #3 |
That is correct, Eat Tree does not have "Alive" and "Dead" in it's targets allowed field, so I'm assuming they aren't necessary. In fact, they are likely the cause of the problem (even though the error message generated is a little misleading) |
| 05-28-2006, 08:15 AM | #4 |
Some of the more exotic targeting options aren't even options, really. You may find that any of the tree-targeting abilities are hardcoded and that attempting to set things one way or another simply causes confusion, not results. However, if you wanted a dummy spell that targets a single tree, might I recommend the Huntress' Sentry Owl ability? |
| 05-28-2006, 10:28 AM | #5 |
or Eat Tree or the one MG has.... |
| 05-28-2006, 03:13 PM | #6 | |
Quote:
Of course, both of those would result in the destruction of the tree, which may not be desirable. |
| 05-28-2006, 07:47 PM | #7 | |
Quote:
Correct, you could just use the event "A unit begins using a spell" This can be took advantage of, but i would say its the only way around this problem, the Own that the huntress has will always create a unit. So if this spell is used 500 times, thats alot of units. They're might be another spell that targets a tree, but i doubt you will get a blank target tree ability |
| 05-29-2006, 04:57 AM | #8 |
It's a simple matter to just revive the tree that was consumed if you dont wish for it to be removed :) |
| 05-29-2006, 08:25 AM | #9 |
A simpler matter to set the duration of the Owl to 0.01 seconds, and I think it's actually a buff, not a unit. More importantly, using a trigger that fires off of a unit "beginning" to cast a spell is a flawed system, as a player can start the spell and cancel it after the triggered effect, before the mana has been paid or the cooldown started. |
| 05-29-2006, 04:34 PM | #10 |
Thx to all the replies. I eventually ended up usuing Panto's suggestion but rep to all for helping... |
| 05-29-2006, 07:45 PM | #11 | ||
Quote:
I dident know you could set the duration of the owl, i must look into this. Quote:
I said about the this, it can be took advantage of. Thats the only was i could see around it at the time, MasterDinadan had a good idea of ressurecting the tree, that would be common sense. A trigger would look something like this: Trigger: Revive Tree
|
| 05-30-2006, 02:13 PM | #12 |
You could also try by changing the "Art - Selectable in Game" on the tree destructibles to "True". |
