There was function move to random playable position in modd.io. I don’t know why u deleted it.
Can u restore it?
Nobody likes ores in walls.
There was function move to random playable position in modd.io. I don’t know why u deleted it.
Can u restore it?
Nobody likes ores in walls.
More arguments:
- Repeat 5 times
- Move unit to random position in region
- Check if position is valid.
3.1 True: finish algorithm
3.2 False: continue- Set WAITING_TIME to 30 seconds
- Repeat until position will be valid
5.1 Wait for WAITING_TIME
5.2 Move unit to random position in region
5.3 Check if position is valid.
5.3.1 True: finish algorithm
5.3.2 False: WAITING_TIME = 2 * WAITING_TIME