Lets say we have this NPC
Code:
4024,Gaurd,jerome,48000,3,0,1,53,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
We gonna make him a teleporter

This is important:
Code:
4024,Gaurd,jerome,48000,3,0,1,53,0,
First lets give him a teleporter commando
change it in
Code:
4024,Gaurd,jerome,48100,3,43800,1,2,144,
And Look for:
Code:
4024,Gaurd,jerome,[COLOR="Green"]48100[/COLOR],3,[COLOR="Red"]43800[/COLOR],1,2,[COLOR="Yellow"]144[/COLOR],
First we gonna check
Green(48100) : That is if ppl going with the mouse over your NPC
you can give him name in
Code:
data/script/string/stringtable_job
Scroll down make a new line with "code 48100"
photo:

Oke that is done now,,,
Lets check;
Red(43800)
That is the text table. You can find him in
Code:
data/script/string/stringtable_conv
photo:
Now the most IMPORTANT PART!
Yellow(144)
Go to
Code:
data/share/arrange/teleport.csv
make a new row and past this line
Code:
144,1,0,1,0,0,0,0,2,0,0,0,0,3,0,0,0,0,4,0,0,0,0,5,0,0,0,0,6,0,0,0,0,7,0,0,0,0,8,0,0,0,0,9,0,0,0,0
Now lets check what everything means
2006.08.24 18:16, = Index
Teleport_StringIndex, = Keep it 1
UnitCount, = How much teleport jobs ( MAX 9 )
UnitIndex_1, = Keep it 1
LocationIndex_1, = This is for where he need to go when he click on it,, you can make a index in "data/share/arrange/location.csv"
String_1, = make it 100 (next teleport job 200, then 300, then 400, etc etc)\
Cost_1, = Cost for teleporting
Level_1, = Min lvl for teleporting
To give him name you need to go "data/script/string/stringtable_teleport.txt" and make a new command WITH THE TELEPORT INDEX for this example is it 144
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
Lets say we want a teleporter to Loa caste index X 250 Y 250
( I do only the yellow part )
Code:
144,1,1,1,11271,100,100,120,2,0,0,0,0,3,0,0,0,0,4,0,0,0,0,5,0,0,0,0,6,0,0,0,0,7,0,0,0,0,8,0,0,0,0,9,0,0,0,0
What I have now ;
144 = index
1 = Teleport string index (dont touch it)
1 = Unit Count
1 = Unit Index (dont touch it)
11271 = Made in "location.csv" for the command to get teleport to loa 250 250
100 = String index for "data/script/string/stringtable_teleport" look in photo 4
100 = Cost for teleporting
120 = Min lvl for teleporting
Sorry I am bad in tuts and english