Re: [CODE] HELP - How to get a monster name ?

From: Rasmus 'Con' Ronlev (raro94ab@hp4.econ.cbs.dk)
Date: 10/27/96


On Sun, 27 Oct 1996, Mr R.H.Green wrote:

> and was wondering if someone could help out and explain how i can get the
> mobiles name into the code.
[SNIP]
>         sprintf(buf, "        Num [%-5d] - <USED>\r\n", i);

   try :  sprintf(buf, "        Num [%-5d] - %s\r\n", i,
                  (mob_proto + i)->player.short_descr);

Something like that if I remember correctly..
You can get some more hints on this going through do_stat I'd say..

Good luck,
Con

d.
--
     Rasmus Rønlev DOEK'94      WWW: http://www.econ.cbs.dk/people/raro94ab
     Student instructor         MUD: exiled.mud.circlemud.org 5000
                                         199.199.16.100 5000
       Student, B.Sc in Computer Science and Business Administration.

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST