Flagging a Questmaster for players to see.

  • rudeboyrave
  • rudeboyrave's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
More
3 years 7 months ago #5067 by rudeboyrave
rudeboyrave created the topic: Flagging a Questmaster for players to see.
in act.informative.c in function list_one_char search for FROZEN and below the frozen flag pop in something like this


        if (!IS_NPC(i) && PRF_FLAGGED(i, PRF_FROZEN))
        send_to_char(ch, "(FROZEN)");

      + if (IS_NPC(i) && GET_MOB_SPEC(i) == questmaster)
      + send_to_char(ch, "(!)");

that will put a (!) in front of any questmasters seen in game.

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.
The following user(s) said Thank You: Liko, zusuk

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #5068 by Liko
Liko replied the topic: Flagging a Questmaster for players to see.

rudeboyrave wrote: in act.informative.c in function list_one_char search for FROZEN and below the frozen flag pop in something like this


        if (!IS_NPC(i) && PRF_FLAGGED(i, PRF_FROZEN))
        send_to_char(ch, "(FROZEN)");

      + if (IS_NPC(i) && GET_MOB_SPEC(i) == questmaster)
      + send_to_char(ch, "(!)");

that will put a (!) in front of any questmasters seen in game.


Thank you. :) I added something like this earlier. You beat me to it.

DragonBall: Tournament (1.2.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #5720 by JTP
JTP replied the topic: Flagging a Questmaster for players to see.
Can't find frozen anywhere. So where should i put it in to Work ?

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #5723 by thomas
thomas replied the topic: Flagging a Questmaster for players to see.

in act.informative.c in function list_one_char


Somewhere below this line: github.com/tbamud/tbamud/blob/master/src/act.informative.c#L324

Please Log in or Create an account to join the conversation.

Time to create page: 0.971 seconds