so when the mob reaches the destination it prompts the mob it reached...
mob/proc/essage(mob/M as mob in world)
if(get_dist(src,M) <=1)
if(istype(M,/mob/pc))
if(M.ownr!=src.owner)
src.trader=M.owner
switch(input(M,"[src.ownr] is offering you [src.amo] [src.amo3] for [src.amo2] [src.amo4], Do you accept?","You accept?") in list("Yes","No"))
if("Yes")
why isn't this working what am I doing wrong? It's not prompting the town when the wagon reaches it...
ID:266618
Apr 21 2002, 1:52 pm
|
|
In response to Jon Snow
|
|
Yes the M after input is correct
|
In response to Strange Kidd
|
|
thank you I realized after Supers help what I needed was for(var/mob/M as mob in world)
instead of puting mob/M as mob in world on the proc name... |
grrr can someone tell me if I did this right? Lol I mean by the M after input(