Challenge(mob/M in oview(4))
if(M.client)
switch(alert("Are you sure you want to challenge [M]?",,"Yes","No"))
if("Yes")
switch(alert(M,"[usr] has challenged you! Accecpt?",,"Yes","No"))
if("Yes")
usr << "World: soon the Challengign will be implamented!"
M << "World: soon the Challengign will be implamented!"
if("No")
..()
if("No")
..()
else
usr << "World: Silly [usr]! you can`t Challenge NPCs!"
I realize it says null but if i try mob/M in oview(4)
or mob/M as mob in oview(4) in the obj/chal/click: usr.Challenge() (please note that is not code) i get:
NPC.dm:49:error:mob:bad var
NPC.dm:49:error:M:bad var
when compiling
and for those of you that say "its easy" or "look in the help file or FAQ" please read my post more carefully
I havnt done this but you can try:
new/obj/bleh(usr.loc)
src.x = usr.x - 1
src.y = usr.x - 1
Just a thought...
-Rcet