[Spell] Make WarClub not kill tree when used

Status
Not open for further replies.
Level 1
Joined
Apr 6, 2012
Messages
39
I don't know if the tittle made it clear, but I just need to know if there is a way to use the war club ability without killing a tree
 
I don't believe there is a way to prevent the tree from dying using only the object editor.

Instead, you could make a trigger that causes the tree that was targeted by the spell to immediately come back to life after being killed.
 
I have attached a test map with a working War Club ability that doesn't destroy trees. You can press "Escape" in-game to alternate between the old and new War Club ability so you can compare the two. As far as I tested they look and feel exactly the same (which is a good thing) so don't be confused if you can't tell the difference.

If this causes problems then I'd say go with Halithor's solution. Both should work just fine. I just wanted to try and create a more visually appealing version, plus I was bored and this seemed like fun lol.

Edit: If someone uses the example in my map make sure to clean up the leaks for the Point variable, etc... I forgot to do it myself.
 

Attachments

Last edited:
I have attached a test map with a working War Club ability that doesn't destroy trees. You can press "Escape" in-game to alternate between the old and new War Club ability so you can compare the two. As far as I tested they look and feel exactly the same (which is a good thing) so don't be confused if you can't tell the difference.

If this causes problems then I'd say go with Halithor's solution. Both should work just fine. I just wanted to try and create a more visually appealing version, plus I was bored and this seemed like fun lol.

Thanks a lot, I found a workaround to what I was originaly trying to do without using warclub, but this might be useful anyways
 
Status
Not open for further replies.
Back
Top