Check the demo map, the coding is not the best and it's not easily configured which is why it's in the graveyard, but it's usable in your case. All you need to do is copy the triggers over and terrain will generate.
You can also make it generate multiple times.
You can also make it generate multiple times.