Croqueta Posted December 7, 2012 Report Share Posted December 7, 2012 los monstros que qiero llamar no bienen quest testobj2 begin state start begin when login or levelup begin setstate(info) end end state info begin when letter begin if pc.is_gm() then send_letter("Hallo "..pc.get_level()) end end when button or info begin say_title(pc.get_name()) say() local s=select("Spawn","Abbrechen") if s==1 then local x = pc.get_local_x() local y = pc.get_local_y() local mob= {101,105,104,105} for i= 1,4 do local v = mob.spawn(mob[i], x, y, 1, 1) target.npc("mob1", v) end else return end end end end Link to comment Share on other sites More sharing options...
AgustinMüller Posted December 7, 2012 Report Share Posted December 7, 2012 me parece que es local v = mob.spawn(mob, x, y, 1) Link to comment Share on other sites More sharing options...
Croqueta Posted December 7, 2012 Author Report Share Posted December 7, 2012 local v = mob.spawn(mob[i], x, y, 1,1) escorrecto, mob[i]= mob_id; x= local x; y= local y; 1= z; 1= count Link to comment Share on other sites More sharing options...
Recommended Posts