How would i go about making a creature spawn in a region

I have been working on a game for a while, and I still cannot seem to be able to figure it out. If anyone can help thank you!

look at the template of a survival game it should be in there

(( number of units of (unit name) )) <= style=“color:blue”>(number)</=>
Then do
Create (unit name) for (variable) at (center/random place of (region)) facing 0 radians