Re: [NEWBIE] - act() question

From: Xual (
Date: 02/23/99

On Tue, 23 Feb 1999, Tom Dailey wrote:

> instead of the mob.  And when I try to do an act(), the $n is the
> character, not the mob.  If I change $n to $N, it still doesn't work.

You arent referencing the mob anywhere...  Look at the definition of
SPECIAL.   Notice the void *me.  Now turn *me into *mob at the top of the

struct char_data *mob = (struct char_data *) me;


>       act("$N raises $s arms in disgust", FALSE, ch, 0, 0, TO_ROOM);
>       do_say(ch, "Your little warrior skills cannot hurt me!", 0, 0);

Now change ch to mob.  ch is always the player who types the command.

"Misery is boundless"
        -Xual the Torturer, on the Eve of the Sundering.

Danathara Online RPG

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

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