mob
proc
D_Shield(var/mob/M as mob, var/T as num, var/obj/O as text)
M.Stuck = 1
O = text2path(O)
new O (locate(M.x,M.y,M.z))
O.Owner = M.PName
walk(O,M.dir)
walk(O,0)
spawn(rand(T-5,T+5))
M.Stuck = 0
del(O)
Problem description:
runtime error: Cannot modify /obj/Defense/Ice/IceWall.Owner.
proc name: D Shield (/mob/proc/D_Shield)
source file: Baby here I am.dm,201
usr: Verikai (/mob)
src: Verikai (/mob)
call stack:
Verikai (/mob): D Shield(Verikai (/mob), 10, /obj/Defense/Ice/IceWall (/obj/Defense/Ice/IceWall))
Verikai (/mob): IceWall()
Thats the error I get. obj/var/Owner is set to " ", so it always has something. Why wouldn't this be able to modify its Owner var then?