HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Targeting a tree...

01-21-2007, 12:48 PM#1
zeroXD
The Sentinel ability (Huntress) places an own at the targeted tree, and I'm using it as base for an ability. So..
Ive tried to change duration and stuff in the object editor. The own dont want to dissappear.

Is it any other ability that works by targeting a tree? (something else than Eat Tree)
Tried to just change target for something like Chain Lightning, but it wont target a tree.
Any ideas?
01-21-2007, 01:44 PM#2
BertTheJasser
Do you want the tree to presist the spell?
If yes, then I would change the art of sentinel to none.mdl or a dummy model (like the one from cs). Additionally change the sight AOE of sentinel to 0.01. So it does not show and units around.
If you're going to kill the tree, I see now other abi than eat tree or grab tree with a dur of 0.01 (maybe even force of nature,but it's an AOE as you might have known ;D *joke*).
01-21-2007, 02:05 PM#3
zeroXD
The problem is, I am making a tree climbing ability for my map.
Eat tree kills the tree, and then I make a new one. That bugs out my ability.
And sentinel makes that tree unable to be targeted afterwards. It gives me the message on screen: "There is already an owl in that tree" or something.
Hmm, I think I go check gameplay constants..

EDIT: Nothing in the constants...
01-21-2007, 03:26 PM#4
The)TideHunter(
Just use the owl or eat tree.
Get the tree that was targeted, remove it and instantly create a new one in the same place.
Solves all the problems. But remember to get the trees facing etc, otherwise it will look like the tree jumps.
01-21-2007, 04:03 PM#5
BertTheJasser
You do not have to create a new tree. Just instantly resurrect the destructable withcall DestructableRestoreLife(d,GetDestructableMaxLife(d),showanim)