Add_Player_SummonList(mob/M in world)
set category="Owner"
set name="Add to Summon List"
SummonList+=M
usr<<"You added [M] to the Summon List!"
Remove_Player_SummonList(mob/M in world)
set category="Owner"
set name="Remove from Summon List"
SummonList-=M
usr<<"You removed [M] from the Summon List!"
Summon_SummonList()
set category="Owner"
set name="Summoner"
for(var/mob/M in SummonList)
world<<output("<B><font color=red>Kuchiyose no Jutsu! [M.name]!")
new/obj/immortality(M.loc)
M.freeze=1
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.freeze=0
M.loc=(locate(x,y-2,z))
new/obj/immortality(M.loc)
M.freeze=1
sleep(10)
new/obj/immortalityfire(M.loc)
sleep(1)
M.alpha=0
sleep(1)
new/obj/immortality(locate(x-2,y,z))
sleep(10)
new/obj/immortalityfire(locate(x-2,y,z))
sleep(1)
M.alpha=initial(alpha)
sleep(1)
M.loc=(locate(x-2,y,z))
M.freeze=0
M.loc=(locate(x-2,y,z))
Problem description:
I am trying to add mobs to a list, and then summon them with a nifty visual, but...
Currently it will summon the mob once at the first location, then summon it at the next, and the moves on to other mobs in the list.
I can't figure a way to essentially summon the first mob at the first location, while simultaneously the other mob at the second, and so on so forth for the four directions around my player.
I have tried several ways, but I ain't that good with lists, and I am stuck.
Can anyone explain a little bit, about what I am doing wrong here?
Or lead me to a source so I can learn what I am doing wrong?
You need something to be different for each of the mobs in the list. Here's one way you could do that: