mob
proc
meet()
var list/p2u
for()
sleep(100)
p2u = list()
for(var/mob/Player/m in view(5))
src << "Running"
Problem description:
Well, as you guys can see, I'm trying to run a loop which does some stuff every so often. This is turning out to be a pain, because no matter what, I cannot get that 2nd loop to run in any case.
Anyone have any insight as to why? Everything runs before and after it, so its like there's nothing in view(), yet, that's about impossible.
Example 1:
Altho this seems more like what you are attempting.
Example 2:
You may want to familiarize yourself more with the other types of loops. You can also use for() in more than one manner.