player merchants

For questions relating to POL scripting (not necessarily related to WoD)

Moderators: Siobhan, Sebastian, Drocket

player merchants

Postby fitzchivary on Sat Sep 27, 2003 3:49 pm

how can i make it so that players merchants will hear 2 tiles away instead of only one tile away .
fitzchivary
Jr. Oldbie
 
Posts: 208
Joined: Sat Mar 15, 2003 4:05 am

Postby SDonald on Sun Sep 28, 2003 1:53 pm

Edit playermerchant.src
Easiest way to follow it is to split the following line into 2 lines as follows:

Replace the line:
EnableEvents (SYSEVENT_SPEECH + SYSEVENT_ITEM_GIVEN, 1);

with these two lines:
EnableEvents (SYSEVENT_SPEECH, 2);
EnableEvents (SYSEVENT_ITEM_GIVEN, 1);

Regards,
Stephen Donald.
SDonald
Regular Poster
 
Posts: 102
Joined: Fri Oct 11, 2002 7:47 am
Location: Australia

Postby fitzchivary on Sun Sep 28, 2003 4:34 pm

thank you very much.

worked like a charm
fitzchivary
Jr. Oldbie
 
Posts: 208
Joined: Sat Mar 15, 2003 4:05 am


Return to Scripting Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron