Code:
obj/MOB/
density=1
icon='Mobs.dmi'
NPCMAN
icon_state="Little boy Johnny"
DblClick()
src<<"Don't forget!
Problem description:That's the code. But ... I don't know how to make them say what I want. Please help.
ID:143727
Jul 17 2007, 8:59 am
|
|
Jul 17 2007, 9:10 am
|
|
Change src to usr. Itll say it to the user instead, then. Its currently saying that to itself.
|
In response to DivineTraveller
|
|
But it says NPC Code2.dm:15: unterminated text (expecting ") and when I double click it it brings me to usr<<"Don't forget!
|
In response to DivineTraveller
|
|
Thats, because you did'nt end this
usr<<"Don't forget! //Wrong way to do it
properly. This, will work, however.. usr << "Don't forget!" //Correct way to do it Also, I have no clue, why you have players talk to Objs. Oh well.. |
In response to Quest Industries
|
|
Oops, my bad. I didnt see that when I wrote it :/
|
In response to DivineTraveller
|
|
mob in this case, your "NPCMAN" will say whatever you change the "What I want" to be, which in little johnny's case, is "Don't forget!" |
In response to Wolfdude5
|
|
They just said, you have to FINISH it with a ".
|