[2.3] How Do I Make A TeleportStone Npc

Play Now

ChronicleGM

Dedicated Member
Dedicated Member
Oct 24, 2004
232
1
45
[@main]
#SAY
Where would you like to go ?\ \
<Example1/@eg1>\
<Example2/@eg2>\

[@eg1]
#ACT
give townteleport 1
mapmove MAPNAME XXX YYY

[@eg2]
#ACT
give townteleport 1
mapmove MAPNAME XXX YYY

Basic script for you.
 
Upvote 0

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
Well
[@main]
<Enter text here> Use \ to go a row down as pressing enter won't work.

After you finished text you put \\

<Teleport/@tp>\
<No thank you/@exit>\

[@tp]
Choose where you want to teleport.\\\
<cavename/@omacave>
<Cavename/@bwmines>
<cavename/@pastbichon>

[@omacave]
#IF
#ACT
mapmove <mapname> <coords>

[@bwmines]
#IF
#ACT
mapmove <Mapname> <Coords>

If you new to scripting.

/@random>

You can put everything there but to work you need to do a
[@random]
#IF
#ACT

Also the txt that contains this script should be in NPC_Def folder in Envir.

There you renamed the text document to (Name)-(Map it's on)

Eg: Jeffrey-0 (Map 0 is Bichon)

In NPC.txt you have another npc's , take them as an example how to register a new one.

<Name> <0> <Mapname> <coords x> <coords y>
 
Last edited:
Upvote 0