proc/Quite_On_Fire(mob/Man)
Man.Health -= 1
Man.quiteonfire = 1
while(Man.quiteonfire)
step(Man,NORTH)
step(Man,EAST)
step(Man,SOUTH)
step(Man,WEST)
sleep(60)
Man.quiteonfire = 1
Problem description:
I tried creating a proc that mimics a frenzied man running in circle while being on fire. I'm not an expert at using the while() but I think we can do it this way?Anyway whenever my projectile call this proc using Quite_on_Fire(M)(with m as the mob) it lags or crashes the server severely.