Welcome to the Builder Academy

Question Flagging a Questmaster for players to see.

More
23 Sep 2014 19:42 #5067 by rudeboyrave
in act.informative.c in function list_one_char search for FROZEN and below the frozen flag pop in something like this


Code:
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
24 Sep 2014 19:29 #5068 by Liko

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


Code:
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.

Randian(0.0.0)
Owner/Developer

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

More
02 Apr 2016 15:02 #5720 by JTP
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
03 Apr 2016 12:41 #5723 by thomas

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.194 seconds