ID:269687
 
I have come up with another problem. I want it so when the volcano erupts it runs all 4 of these procs for the appropriot smoke objects. Here is the code:

obj/volcano
proc
Erupt()
sleep(global.volcanost)
var/obj/lava/L = new
L.loc = src.loc
var/obj/smoke/S = new
S.loc = src.loc
var/obj/smoke/T = new
T.loc = locate((src.x + 1),src.y,src.z)
var/obj/smoke/U = new
U.loc = locate((src.x + 1),(src.y - 1),src.z)
var/obj/smoke/V = new
V.loc = locate(src.x,(src.y - 1),src.z)
S.Duplicate()
T.Duplicate()
U.Duplicate()
V.Duplicate()

Is there any way to run S.Duplicate() T.Duplicate()U.Duplicate() and V.Duplicate() at the same time as they loop.
Yep, call spawn() before then.
In response to Ol' Yeller
Ol' Yeller wrote:
Yep, call spawn() before then.
An example of this is:
            spawn()S.Duplicate()
spawn()T.Duplicate()
spawn()U.Duplicate()
spawn()V.Duplicate()