Jass:CreateUnitAtLocSaveLast – Mappedia

Jass:CreateUnitAtLocSaveLast

Aus Mappedia
Wechseln zu: Navigation, Suche
Funktion: CreateUnitAtLocSaveLast
Parameter: player
integer
location
real
Rückgabewert: unit
Autor: Blizzard
Quelle: Blizzard.j
Synchron: Unbekannt



Code

function CreateUnitAtLocSaveLast takes player id, integer unitid, location loc, real face returns unit
    if (unitid == 'ugol') then
        set bj_lastCreatedUnit = CreateBlightedGoldmine(id, GetLocationX(loc), GetLocationY(loc), face)
    else
        set bj_lastCreatedUnit = CreateUnitAtLoc(id, unitid, loc, face)
    endif

    return bj_lastCreatedUnit
endfunction

Parameter

Typ Name Beschreibung
player id
integer unitid
location loc
real face
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge

Notice: Memcache::get() [memcache.get]: Server 85.13.160.44 (tcp 11212) failed with: Connection refused (111) in /www/htdocs/global/live/codecraft/classes/cache/cache.class.php on line 56