^Did he not ask help here?
@Mykel Is it only for one player? The only difference between 'one player' and 'several players' is a unit-group pick.
Do players have multiple units? You could make them patrol to a point in the region.
Region[1]
Region[2]
Region[3]
Region[4]
Region[5]
Unit Enters Region 1/2/3/4/5
Set TempInteger = (Random number between 1 and 5)
Set TempPoint = (Random point in (Region[TempInteger]))
Unit - Order TempUnit to Attack-Move to TempPoint
Custom script: call RemoveLocation(udg_TempPoint)
Custom script: set udg_TempUnit = null
TempInteger is an Integer variable.
TempPoint is a Point variable.
TempUnit is a Unit variable.
'Temp' means temporary. It means they would work when used elsewhere, just take care of them properly.
You don't have to name them exactly, they are just standard variable names.
Don't forget to change other values if you change the name too.