#Tree that is invisible + invulnerable?

1 messages · Page 1 of 1 (latest)

quartz fractal
#

Is this possible?

quartz fractal
#

Hm. Can I use a tree baseclass for a custom unit? If so, what is the baseclass name? I can't find "npc_dota_tree" or "dota_tree" on github

unreal epoch
#

Making a tree that is invisible and invulnerable using the existing tree baseclass is venturing into unknown territory. Trees can't get modifiers so idk if it's even possible. You can make custom units with tree models that are invis and invulnerable. Or in hammer you can make a prop with a tree model. Idk if you can make it visible on command though or to be interactable with true sight. Sounds like pain. I would make a custom unit if I were you.

quartz fractal
#

Ah, if trees can't get modifiers then that answers my question. It would have to be a tree to work with "MODIFIER_STATE_ALLOW_PATHING_THROUGH_TREES" so I think I'll need to take a different approach than using trees for this. Thanks!

onyx nest
#

there is a tree entity in Hammer that can be assigned any model, which means you can give it an invisible model too. It acts just like a regular tree, also. So I don't think you'll be able to give it invulnerability naturally.

limpid harbor
#

Could reject orders for directly targeting it, but aoe abilities like lina stun could still break it

austere sapphire
#

this doesn't work?

junior hareBOT
#

Found 1 function for CreateTempTreeWithModel

🇸 CreateTempTreeWithModel(location: Vector, duration: float, modelName: string): CBaseAnimating
Create a temporary tree, specifying the tree model name.

austere sapphire
#

for invulnerable you just check if the tree got destroyed, then recreate it

quartz fractal