• 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!

Travel Npc Problem

lol94

Loler
Joined
Dec 23, 2008
Messages
764
Reaction score
55
Location
Mexico
HEY! whats up Otland :).. i just have a problem with a travel npc can somebody helpme :)???

Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Old Fighter" script="default.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="66" head="0" body="0" legs="0" feet="0" addons="0"/>
    <parameters>
        <parameter key="message_greet" value="Welcome, |PLAYERNAME|! I can take you to {Fight}." />
        <parameter key="message_farewell" value="Good bye."/>
		<parameter key="message_walkaway" value="Farewell then.." />
		
		<parameter key="module_travel" value="1"/>
		<parameter key="travel_destinations" value="Fight,2254,2292,7,0;"/>
    </parameters>
</npc>

Whats wrong?
 
Well since I do not see a posted error listed from the Console, I am going to take a blind guess.. and say he loads fine.. but will not teleport you?

I would have to say take a look at this line...

<parameter key="travel_destinations" value="Fight,2254,2292,7,0;"/>

And say... I am not sure what that ",0" is there for. I do not usually script npcs, but I do not remember seeing a 4th "dimension" anywhere.

Try removing that, or post the error from console.
 
<parameter key="travel_destinations" value="Fight,2254,2292,7,0;"/>

The first thing is the name of the place,
The second and the third is where the position is on your map,
The fourth thing is which floor the position is on,
The fifth thing is what the trip will cost.
 
Back
Top