Summon(mob/M in world)
set category="GM"
if(M.intut)
src<<"<b><font color=red><u>WARNING: [M] is in the tutorial."
return
if(M!=src)
usr.handseals(200,50)
if(!sealpass)return
M.onwater=0
M.onsand=0
M.inzone=0
M.atkdef()
usr.freeze=1
for(var/area/A in oview(0,M))A.Entered(M)
new/obj/immortality(M.loc)
sleep(10)
new/obj/immortalityfire(M.loc)
sleep(1)
M.alpha=0
sleep(1)
new/obj/immortality(locate(x,y-2,z))
sleep(10)
new/obj/immortalityfire(locate(x,y-2,z))
sleep(1)
M.alpha=initial(alpha)
sleep(1)
M.loc=(locate(x,y-2,z))
M.shadowoff()
M.shadowsewingoff()
usr.freeze=0
if(GM<3)range(12)<<"<b>[src] summoned [M]."
M.barloc()
record("Summon",user=usr.key,target=M.key,M)
Problem description: I am trying to turn this basic summoning verb to be able to pick 3 people to then summon, instead of 1.
I have tried to think up SEVERAL ways, but it always ends up not working, or just bugging out on me.
Could you guys direct me in the correct way?
Preferably with (locate(x,y,z)) one infront of me, and one at each side of me 2 tiles away like this verb does.