ID:263363
 
Code:
                                var/obj/NW = new/obj/invisable
NW.loc = usr.loc
NW.y += 1
NW.x -= 1
var/obj/N = new/obj/invisable
N.loc = usr.loc
N.y += 1
var/obj/W = new/obj/invisable
W.loc = usr.loc
W.x -= 1
var/turf/IN_NW = NW.loc
var/turf/IN_N = N.loc
var/turf/IN_W = W.loc
spawn(3)
del(NW)
del(W)
del(N)
usr.canmove = 1
sleep(20)
usr.UCdelay = 0
//
for(var/mob/M as mob in IN_N||IN_W||IN_NW )


Problem description:
Here is part of my code for high kick for Scorpion/Sub-Zero/Reptile, this is the part that makes me annoyed. It will only choose one of theese attacks because that is like an or, if I want it to do all of them I need to make a much much much longer code... so does anyone know how to make it attack all of those at one time..?( I have been trying for awhile, I dont like long codes so I want it this way.. anyone know how to do this ?
Code:
for(var/mob/M in IN_N) for(var/mob/M in IN_W) for(var/mob/M in IN_NW)
world << M


That should do it.
If it says that "M" has duplicate definition, try doing M, M1 and M2 as vars.
:)
Use turf.contents and combine your lists using the + operator.
In response to Gooseheaded
No. Those are just three consecutive loops, and further off from what he wanted.