Dead tree remover behaviors

This type of behavior performs cleanup by removing dead trees from memory at the appropriate time. This function is very important - if it did not occur, then the model would slow exponentially as memory filled up and those behaviors that look at recently dead trees would start getting strange results. Currently, there is only one.

Dead tree remover

How it works

This behavior looks for the death flag as set by the mortality behaviors. For each tree that it finds with that flag, it sends a request to the tree population to "kill" the tree. The reason passed to the tree population for the death of the tree is natural death.

How to apply it

This behavior should be applied to all tree species and tree types. All trees to which this behavior is applied must also have a light behavior applied. This is a signal to this behavior that the trees are going to have their data set up in the expected way.

Behavior reference string: removedead


24-Jun-2004 12:38 PM