OK, here we go. The randomDistSelf function throws an error about the 'self' attribute as well, but cannot provide an example here since the mission doesn't have those calls anymore.
2020-01-06 07:38:37.567 ERROR DCS: Mission script error: : [string "C:\Temp\DCS.openbeta\/~mis00007628.lua"]:6158: attempt to index local 'point' (a nil value)
stack traceback:
[C]: ?
[string "C:\Temp\DCS.openbeta\/~mis00007628.lua"]:6158: in function 'buildWP'
[string "C:\Temp\DCS.openbeta\/~mis00007628.lua"]:6400: in function 'groupToRandomPoint'
[string "C:\Temp\DCS.openbeta\/~mis00007628.lua"]:6452: in function 'groupToRandomZone'
[string "mist.groupToRandomZone('RARM_4', {'RAAS_2.1', 'RAAS_2.2', 'RAAS_2.3', 'RAAS_2.4', 'RAAS_2.5', 'RAAS_2.6'}, 'off road', nil, nil, true)"]:1: in main chunk