Arkangel Nyx
Member
I have made a warper on my server (an npc that teleports you to specific locations.) As of right now i have it so it shows you a list of places you can go like as follows
Where would you like to travel too? Carlin, Thais, or Pits of inferno?(just an example)
So to travel to one of those places you say one of those three names. Heres how i WANT it though.
Where would you like to travel? 1 (Carlin), 2 (Thais), 3 (Pits of Inferno)
and then to travel to one of those places...you say the NUMBER not the NAME. See what i'm saying? Anyways if you know how to do that i got you with REP++.
Thanks Otland.
- - - Updated - - -
Hers the script:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Geoffrey" script="default.lua" walkinterval="0" floorchange="0">
<health now="150" max="150"/>
<look type="129" head="114" body="119" legs="114" feet="114" corpse="2212"/>
<parameters>
<parameter key="module_travel" value="1"/>
<parameter key="message_greet" value="Hello |PLAYERNAME|. To see a list of locations to teleport too, say {travel}."/>
<parameter key="travel_destinations" value="Carlin",901,844,5,50;Hell,1354,1360,7,50;thais,248,1455,7,50;Pits of inferno,612,1356,7,50;Graveyard,717,732,7,50;Cults,905,942,8,50;Hero's,563,751,11,50"/>
</parameters>
</npc>
Where would you like to travel too? Carlin, Thais, or Pits of inferno?(just an example)
So to travel to one of those places you say one of those three names. Heres how i WANT it though.
Where would you like to travel? 1 (Carlin), 2 (Thais), 3 (Pits of Inferno)
and then to travel to one of those places...you say the NUMBER not the NAME. See what i'm saying? Anyways if you know how to do that i got you with REP++.
Thanks Otland.
- - - Updated - - -
Hers the script:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Geoffrey" script="default.lua" walkinterval="0" floorchange="0">
<health now="150" max="150"/>
<look type="129" head="114" body="119" legs="114" feet="114" corpse="2212"/>
<parameters>
<parameter key="module_travel" value="1"/>
<parameter key="message_greet" value="Hello |PLAYERNAME|. To see a list of locations to teleport too, say {travel}."/>
<parameter key="travel_destinations" value="Carlin",901,844,5,50;Hell,1354,1360,7,50;thais,248,1455,7,50;Pits of inferno,612,1356,7,50;Graveyard,717,732,7,50;Cults,905,942,8,50;Hero's,563,751,11,50"/>
</parameters>
</npc>