Jass:GetRandomLocInRect
Aus Mappedia
| Funktion: GetRandomLocInRect | |
|---|---|
| Parameter: | rect |
| Rückgabewert: | location |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function GetRandomLocInRect takes rect whichRect returns location return Location(GetRandomReal(GetRectMinX(whichRect), GetRectMaxX(whichRect)), GetRandomReal(GetRectMinY(whichRect), GetRectMaxY(whichRect))) endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| rect | whichRect |
