GetRandomLocInRect
- Parameters
-
whichRect rect
- 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
- Source
- Blizzard.j
- wc3modding.com
- GetRandomLocInRect