MNoya / BuildingHelper

Library for RTS & TD Dota Custom Games
GNU General Public License v3.0
37 stars 14 forks source link

Allow trees to be regrown #6

Closed Septica closed 8 years ago

Septica commented 8 years ago

Since buildinghelper.lua leaves an npc thinker unit on a fallen tree. It blocks the regrowth of the tree. It would be nice to have some way to detect a tree regrowth and destroy the associated npc thinker.

MNoya commented 8 years ago

As there is no tree regrow event, there are 4 default API functions it should need to hook to make this transparent:

MNoya commented 8 years ago

Done, give it a try and post again if there's any problem