ID:167922
 
ok for a spell im trying to do i need it to hit everything one space around the user. I got that part but how can i make a icon appear over all mobs at same time and dissapear at same time?
Just create a buncha versions of that effect, but in the New() have it sleep(something) then have it delete itself afterwards.
obj/New()
//effect stuff
sleep(50)
del src

That should work. Upon creation of the object (make sure its non-dense), have it do all that effect stuff, sleep(50) (5 seconds) then have it del itself.
In response to Polantaris
Or you could do for(), example;
mob/verb/Quake()
for(var/mob/M in oview(usr))
M.overlays+='quake.dmi'
sleep(30)
M.overlays-='quake.dmi'
In response to Mysame
Of course, but I had the feeling by what he posted that he's making various objs for this...Either way would work.