• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved "Out of range dismiss"

Muzzy

New Member
Joined
Jul 8, 2008
Messages
125
Reaction score
1
Very quick and to most probably painfully elementary question, how do I change what NPCs say when you run out of range?

As it is right now every NPC throws a normal "Good bye." which can seem out of place with some of my NPCs.

Take Blair who is a butcher with an irish accent:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Blair" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
	<health now="100" max="100"/>
	<look type="134" head="0" body="131" legs="93" feet="95" addons="0"/>
	<parameters>
		<parameter value="'ey, mucker. 'av yer got a corpse dat needs chuckin'?" key="message_greet"/>
		<parameter value="Go ahead, browse me wares." key="message_sendtrade"/>
		<parameter value="Keep yisser wits aboyt yer!" key="message_farewell"/>
		<parameter key="module_shop" value="1"/>
		<parameter key="shop_sellable" value="antlers,11214,16;bear paw,5896,19;bunch of troll hair,10606,15;dead rabbit,2992,2;dead rat,2813,2;dead wolf,2826,10;lump of dirt,10609,3;minotaur horn,12428,30;minotaur leather,5878,35;orc leather,12435,22;orc tooth,11113,65;pelvis bone,12437,7;pig foot,10610,5;poison spider shell,12441,12;spider fangs,8859,9;wolf paw,5897,15;wool,11236,15"/>
		<parameter key="shop_buyable" value="cleaver,2568,10"/>
	</parameters>
</npc>

I'll assume I have to alter the parameter value in some way, but I don't really know exactly what I'm supposed to replace it with.

Thanks in advance!
 
Back
Top