- Joined
- Jun 7, 2008
- Messages
- 440
Im experimenting with natives; Can anyone explain what went wrong with this one please?
Im new at this. Please bear with me.
JASS:
function Trig_Map_Initialization_Resort takes nothing returns nothing
local location t
local integer i = 0
loop
exitwhen i>11
set t = GetPlayerStartLocation(Player(i))
call CreateNUnitsAtLoc( 3, 'h002', Player(i), t, 0.00 )
call RemoveLocation(t)
endloop
endfunction