small npc problem

crazylegs

Dedicated Member
Dedicated Member
Jan 18, 2009
53
1
34
checkgold and take gold are working only cant make the npc move me to the map.

Code:
[@next1-1]
#IF
CHECKGOLD 50000000
#ACT
TAKE GOLD 50000000
mapmove kill4level1
TIMERECALL 60
SENDMSG 6 "Enjoy your stay for 60minutes."
#ELSESAY
Come back when you have 50 million gold!\
 

lordatrox

Dedicated Member
Dedicated Member
Aug 28, 2008
164
0
62
for a start i would put checkgold > 49999999, cuz atm its making sure you have the exact amount.

try using just

MAP kill4level1
 
Upvote 0

IceMan

Hero's Act Mir 2
Legendary
Apr 17, 2003
8,544
2
370
350
have you added the map to server and mapinfo?

try
mapmove name cords to spot on the map
 
Upvote 0

crazylegs

Dedicated Member
Dedicated Member
Jan 18, 2009
53
1
34
have you added the map to server and mapinfo?

try
mapmove name cords to spot on the map

yeah map is added, i dont want to add coords to teleport because people shound randomly spawn in the cave.
could it be that the npc has to much to do ?
 
Upvote 0

Grinch

Dedicated Member
Dedicated Member
Dec 30, 2008
115
0
43
[@next1-1]
#IF
CHECKGOLD 50000000
#ACT
TAKE GOLD 50000000
map kill4level1
TIMERECALL 60
SENDMSG 6 "Enjoy your stay for 60minutes."
#ELSESAY
Come back when you have 50 million gold!\

Now work if u have in Map folder this map kill4level1.map and subscribe this 1 in Mapinfo.txt.
Are veeery simple script.

If u want in map at 1 coordonate X,Y u can change this line:

mapmove kill4level1 100 100

You can change this like u want for example:
100=X
100=Y

i hope is enought for u!!!
 
Upvote 0

crazylegs

Dedicated Member
Dedicated Member
Jan 18, 2009
53
1
34
i got problem fixed. instead of mapfile kill4level1 i change the maps to kill1-kill2-kill3 etc, now its working :)
 
Upvote 0

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
125
checkgold and take gold are working only cant make the npc move me to the map.

Code:
[@next1-1]
#IF
CHECKGOLD 50000000
#ACT
TAKE GOLD 50000000
mapmove kill4level1
TIMERECALL 60
SENDMSG 6 "Enjoy your stay for 60minutes."
#ELSESAY
Come back when you have 50 million gold!\


try and move the script around like try this

[@next1-1]
#IF
CHECKGOLD 50000000
#ACT
mapmove kill4level1
TAKE GOLD 50000000
TIMERECALL 60
SENDMSG 6 "Enjoy your stay for 60minutes."
#ELSESAY
Come back when you have 50 million gold!
 
Upvote 0