Tree detecting

Status
Not open for further replies.
at map init group all trees and on death event remove tree from group and check whether the group is empty

This will not work correctly.

Enumerating destructibles in region / range only enumerates up to 64 destructibles.

You would instead need to make / place trees using triggers. Every tree you create add it to a global group.

You could enumerate trees in range whenever a tree dies but it may be tricky to get it to work properly as it may count other destructibles.
 
Status
Not open for further replies.
Top