ID:148958
 
Hi, I am currently trying to develop a 64x32 pixel transformation...I've suceeded in making the icon, and some of the coding, but...it doesn't work exactly right. It only uses the first frame of the animation...I'll post the coding and perhaps one who looks at this can solve my problems and post new coding? If not...thank you anyways


oozaruproc()
if(usr.oozaru == 1)
for(var/obj/O in world)
if(O.owner == usr.name)
O.loc=locate(usr.x,usr.y-1,usr.z)
sleep(world.tick_lag)
usr.oozaruproc()
else
..()

mob
proc
oozaru()
var/newbody = new /obj/oozaru1
usr.flight = 1
usr.icon = 'top.dmi'
newhole:owner = usr.name
usr.y+=1
newbody:loc=locate(usr.x,usr.y,usr.z)
sleep(5)
usr.y+=1
newbody:loc=locate(usr.x,usr.y-1,usr.z)
usr << "You begin to grow to a tremendous size..."
usr.density = 0
usr.oozaruproc()