How to mass place trees through script?

Is there a function or command to use a terrain to mass place trees through c# script?
And if there’s not, is there a way I can place trees and randomize them somehow?

1 Like

I don’t think there’s a built-in function for it but doing it via code shouldn’t be too difficult. Just keep a list of already spawned trees and test their bounds when you place a new one to guarantee none overlap. Not the fastest method but the quickest to code.