[GSP] I want make move NPC.

jadaman

LOMCN n00bie
Nov 2, 2017
7
0
12
i don't konw make move NPC.
advices make NPC. pls


나의 SM-N950N 의 Tapatalk에서 보냄
 

ventus

LOMCN Veteran
Veteran
Oct 17, 2013
925
132
105
In
<RES_MNPC_STAND> inside your Mir3Res.dat (I think thats what it was under, cant remember but its in there.)

<VALUE NPC_ID="2001" NAME="-Hexa Holy Stone-" ROLE="OBJ" LINK="13Move_HalfNight-2.txt" MAP_ID="1006" MAP_X="194" MAP_Y="158" VER="200" />
Edit map id x and y.
 
Last edited:
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
In Holley, you could also move an NPC using script at run time.

MoveNPC "MAP_FROM,X_FROM,Y_FROM,NPC_NAME" MAP_TO X_TO Y_TO

i.e.
MoveNPC "10,350,250,(WeaponShop)_Bob" 0 240 150

Not sure if this is the same for GSP
 
Upvote 0

jadaman

LOMCN n00bie
Nov 2, 2017
7
0
12
[FONT=&quot]I want to make dungeon move npc.But I do not know how.Could you teach me how to do that?[/FONT]
[FONT=&quot]I want to make dungeon move npc.But I do not know how.Could you teach me how to do that?[/FONT]
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,966
110
310
Stoke, UK
Ah,

On any NPC, to move to the dungeon you used the command MapMove (Specific Co-ords) or Map (Random location on Map).

MapMove MAP X Y
i.e. MapMove D2001 150 240


or

Map MAP
i.e. Map D2001

If you want to do a little more advanced, you could do the following,

[@Main]
#SAY
< Bichon /@Mover(0,100,150)>
< OldBichon /@Mover(10,150,250)>
etc

[@Mover()]
#ACT
Mov A1 %ARG(1)
Mov D1 %ARG(2)
Mov D2 %ARG(3)
Take Gold 5000
Give TownTeleport 1
Mapmove %A1 %D1 %D2
 
Upvote 0