At 03:55 PM 1/7/98 +0100, you wrote:
> Another problem I have encountered is that my %actor% variable is
>not getting set properly. What occurs is that the first digit of
>the chars idnum is getting put there ... :(
> And then of course theres the act question! Is it the same
>situation here as for mobprogs, ie. act isn't firing the triggers?
>
act triggers are not firing on my mud either... I haven't quite tracked it
down
but I think it lays in the trigger being called by perform_act(), which is
only
called by act() if the receiver has SENDOK() set, which mobs dont.
As for %actor% not getting set properly... you're just not using it properly I
think. If you mean a command to, for example, tell the actor "hello", this is
what you should be doing:
tell %actor.name% hello
%actor% represents the char_data structure which is identified, and the .name
field (obviously) the name. %actor% is represented by the id of the
character (which,
for players, is the idnum, and for mobs, is a sequential number starting at
some
arbitrarily high value in a #define somewhere).
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST