heres the code i have for the blocking part of it
mob/verb/BLOCK_it()
block = 1
mob/verb/unblock_it()
block=0
mob/var
block
obj/it/verb/it()
if(block==1)
usr<<"[M] has blockd it"
else
usr.loc=locate(Mx,My-1,Mz)
usr<<"You IT to [M]"
For my Instant Tranmission part is
obj
it
verb
Instant_Transmission(mob/characters/M in world)
set name = "Instant Transmission"
set category = "Fighting"
if(usr.dead == 1)
usr<<"You can't use IT when you are Dead!"
if(tfa == 1)
usr<<"[M] is too far away"
else
for(var/mob/characters/P in oview(1))
if(P.npp == 1||P.npc == 1)
usr << "<b>You cannot bring [P.name] with you."
else
P.loc=locate(M.x,M.y+1,M.z)
P << "<b>[usr] brings you to [M] with Instant Transmission."
usr.x = M:x
usr.y = M:y-1
usr.z = M:z
usr.safe = 0
usr << "You go infront of [M]."
M << "[usr] blurs in front of you."
How can i go about doing this?
Other than indentation, that should work, or something along those lines.
--Vito