ID:1823483
 
(See the best response by Turboskill.)
Code:
mob/proc
SharinganChakraView()
for(var/mob/M in oview(15,src))
if(M.client&&M!=src&&src.shari&&M.z==src.z)
spawn()
var/image/I=image('Chakra Flow.dmi',M,"",FLY_LAYER+999999999999999999)
I.icon_state="normal"
src << I;spawn(300) del(I)
while(I&&M)
//var/Percentage=(M.ChakraPool+1)/M.MaxChakraPool
//Percentage=Percentage*100
for(var/mob/npcs/Bunshin/B in world)
if(M.NPC)
I.icon_state="clone"
spawn(100)
for(var/mob/npcs/KBunshin/K in world)
if(M.NPC)
I.icon_state="clone"
if(M.ingenjutsu)
I.icon_state="genjutsu"
sleep(11)


Problem description:
im trying to make it so my sharingan verb auto illuminates on eeverything within a 20 tile radius in a continous loop as long as its on..however the problem is when i try to make the evrb call the proc nothing literally happens?
Best response
The issue might be that you're using src when it should be usr or M?
i.e.
M << I; spawn(300) del(I)

All you're actually doing when you say
image(<icon>,M,<icon_state>,...)
is specifiying an image to be created/made visible over M's location on the map, what you then also need to do for your intent/purpose is to display this image to mob upon whose location the image is being projected.

I was going to say that the way you had it there would instead work out as showing the image at M's loc to the person who activated the proc(src), but because i'm pretty sure you'd even need usr there for that to actually be the case, whatever you have up there probably just isn't outputting an image anywhere (at least not anywhere valid).