In response to DivineO'peanut
The list won't take up much memory. It should just be a list of references to the resource file. It's not like deleting the list will delete the rotated icons.
In response to Nategrant
I have no clue why you need what you're talking about. I also don't understand why you added:

    var/obj/G = new(my_overlays)
if(!(G in my_overlays))


Anyway, the first for() loop is going to immediately finish, as all of its processing is getting spawn()ed off. The next for() loop is being run in parallel with all the other for() loops, and they should all end after rotating the icon three times.

I don't know why you think you need a return statement anywhere.

Also: don't use usr in procs.
In response to Garthor
What I mean is, I cant get it to work without something in overlays.
In response to Nategrant
Because the "it" you are trying to get to work is being put INSIDE the loop that is affecting the OVERLAYS, for some reason. If you want something that doesn't affect the OVERLAYS, then it goes OUTSIDE that loop.
In response to Garthor
ok... but then how would i make it so it would do the second method (no overlays) if there were no overlays? like if you have overlays it spins you and overlays, if not... problem
In response to Nategrant
There IS no second method. This is, at its simplest, what you should be doing:

for(stuff in overlays)
do stuff to stuff
do stuff to self


I provided you with the first two lines. You do the third.
In response to Garthor
Nevermind, found out what you were saying, didnt know the first "for" would run at same time as stuff after it, thanks.
Page: 1 2