Jump to content
  • 0

Can someone change this broadcast? im using rAmod.


Question

3 answers to this question

Recommended Posts

Posted

One way would be an OnPCLoadMapEvent script, that announces with a fontColor and fontSize.
Here you go:
 
1. edit trunk/src/map/clif.c so OnPCLoadMapEvent always triggers, even if maps do not have the 'loadevent' mapflag.
Find these lines:
 if(map[sd->bl.m].flag.loadevent) // Lance
npc_script_event(sd, NPCE_LOADMAP);
and change to look like this:
 npc_script_event(sd, NPCE_LOADMAP);
 
2. load this script: where_am_i.txt
(I commented out maps that did not have an English translation in mapnametable.txt, so there will be no announcement when you load on those maps.
  • Upvote 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...