mob/verb/Duel()
for(var/obj/Disk in usr.client.screen)
del (Disk)
new/obj/Disk(src)
var/obj/Disk
Disk.loc = "8.3,6"
Problem description:
I'm at a complete loss here, I'm trying to edit the location of the Disk obj as it's spawned (to later use it as a part of the code that spawns it at a different location depending on where the player is facing) and I'm not really sure how to do that. The above code returns this in the actual game:
runtime error: Cannot modify null.loc.
proc name: Spawn (/mob/verb/Spawn)
usr: (src)
src: PhantomThiefofHearts (/mob/Player)
src.loc: Wall (5,5,1) (/turf/Wall)
call stack:
PhantomThiefofHearts (/mob/Player): Spawn()