- Index: src/map/script.c
- ===================================================================
- --- src/map/script.c (revision 16195)
- +++ src/map/script.c (working copy)
- @@ -12229,6 +12229,21 @@
- return 0;
- }
- +BUILDIN_FUNC(npctalk2)
- +{
- + const char* str;
- +
- + struct npc_data* nd = (struct npc_data *)map_id2bl(st->oid);
- + str = script_getstr(st,2);
- +
- + if(nd)
- + {
- + clif_message(&nd->bl, str);
- + }
- +
- + return 0;
- +}
- +
- // change npc walkspeed [Valaris]
- BUILDIN_FUNC(npcspeed)
- {
- @@ -16518,6 +16533,7 @@
- BUILDIN_DEF(movenpc,"sii?"), // [MouseJstr]
- BUILDIN_DEF(message,"ss"), // [MouseJstr]
- BUILDIN_DEF(npctalk,"s"), // [Valaris]
- + BUILDIN_DEF(npctalk2,"s"),
- BUILDIN_DEF(mobcount,"ss"),
- BUILDIN_DEF(getlook,"i"),
- BUILDIN_DEF(getsavepoint,"i"),
npctalk2
Posted by Anonymous on Fri 1st Jun 2012 07:51
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.