Yep:Can you give me an example of how to do that?
globals
gamecache COPY_GC = InitGameCache("CopyUnit.w3v")
endglobals
function CopyUnit takes unit whichunit, player forplayer, real x, real y returns unit
call StoreUnit(COPY_GC,"Copies","u",whichunit)
return RestoreUnit(COPY_GC,"Copies","u",forplayer,x,y,0)
endfunction
function CopyUnitLoc takes unit whichunit, player forplayer, location towhere returns unit
return CopyUnit(whichunit,forplayer,GetLocationX(towhere),GetLocationY(towhere))
endfunction