GetRandomLocInRect
- Parameters
-
whichRect rect
- comment
- patch
-
1.00
- Source
- Blizzard.j
- return type
-
location
- Source code
-
function GetRandomLocInRect takes rect whichRect returns location return Location(GetRandomReal(GetRectMinX(whichRect), GetRectMaxX(whichRect)), GetRandomReal(GetRectMinY(whichRect), GetRectMaxY(whichRect))) endfunction