Kill a mob and get a message

Join Discord

Playboy

LOMCN Veteran
Veteran
Loyal Member
Jun 20, 2006
1,054
0
143
Grantham / Lincolnshire
I dont want talking mobs.

I want a message box to apper.

You know when u click a npc u get a box come up.
I want it like that , but you need to kill a monster.
 
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
294
Yes its mapquest stuff.

in the MapQuest.txt
D10031 [403] 1 BigApe * Q1403

[@main]
#IF
random 5
check [403] 1
#ACT
SET [404] 1
#SAY
Hmmm.... This is the JadeCrystal \
REv.taoist Perry was talking about.\
(With this JadeCrystal I can get in the room on\
which a taoistic defensive power was set up.)\


[@next]
#IF
random 20
#SAY
Where is the room on which the \
taoistic defense power was set up?\ \


but the Flag number 403 would need to be set for this to work.
Eg, in the quest you will set the 403 flag and then it would check the 403 flag once you kill it. If its set it will display a text box saying something or it will give you an item.

Think this is correct, havent worked with MapQuests in a while tho :err:
 
Upvote 0

Playboy

LOMCN Veteran
Veteran
Loyal Member
Jun 20, 2006
1,054
0
143
Grantham / Lincolnshire
still did not work.

what ive done is.

Put this in the MapQuest.txt (in the envir folder)
0 [107] 1 LunaKing * LUNAQUEST

and in the MapQuest_Def folder i made a txt saying

LUNAQUEST
in that txt ive put

[@MAIN]
#ACT
SET [107] 1
#SAY
Congratz you have killed the LunaKing\
Get the item and Type @LOVER it will take\
the item from you and give your prize.\ \
<Ok thank you/@EXIT>\

when i kill a a LunaKing , it wont bring that msg up :S.
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
you need to have flag 107 on for the mapquest to run in that example
 
Upvote 0

DayWalker™

Golden Oldie
Golden Oldie
Dec 11, 2004
761
1
123
Middlesbrough ! Smoggy!
Make an NPC with this :

----------------------------------------------------

[@main]
#IF
checklevel 22
#SAY
will you try my challenge, go and kill a\
oma in bichon forest.\ \
<Yes i will/@challenge>\
#ELSESAY
Need level 22.\ \
<exit/@exit>\

[@challenge]
#SAY
good now good luck!\ \
<thanks/@exit>\
#ACT
set [107] 1

and in your LUNAQUEST.txt in MapQuest_Def change the :

#ACT
SET [107] 1 TO A check [107] 1
#SAY
Congratz you have killed the LunaKing\
Get the item and Type @LOVER it will take\
the item from you and give your prize.\ \
<Ok thank you/@EXIT>\

--------------------------------------------

/Stan
 
Last edited:
Upvote 0

Playboy

LOMCN Veteran
Veteran
Loyal Member
Jun 20, 2006
1,054
0
143
Grantham / Lincolnshire
Make an NPC with this :

----------------------------------------------------

[@main]
#IF
checklevel 22
#SAY
will you try my challenge, go and kill a\
oma in bichon forest.\ \
<Yes i will/@challenge>\
#ELSESAY
Need level 22.\ \
<exit/@exit>\

[@challenge]
#SAY
good now good luck!\ \
<thanks/@exit>\
#ACT
set [107] 1

and in your LUNAQUEST.txt in MapQuest_Def change the :

#ACT
SET [107] 1 TO A check [107] 1
#SAY
Congratz you have killed the LunaKing\
Get the item and Type @LOVER it will take\
the item from you and give your prize.\ \
<Ok thank you/@EXIT>\

--------------------------------------------

/Stan

dint work any more iders ??
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
until you have flag 107 set to on the script wont run in mapquest...

that 107 in the mapquest file is the flag which must be set to on for the script to work
 
Upvote 0

DayWalker™

Golden Oldie
Golden Oldie
Dec 11, 2004
761
1
123
Middlesbrough ! Smoggy!
Playboy !

Make an NPC with the following, NPC name : lunaghost-0

[@main]
#IF
checklevel 22
#SAY
will you try my challenge, go and kill a\
oma in bichon forest.\ \
<Yes i will/@challenge>\
#ELSESAY
Need level 22.\ \
<exit/@exit>\

[@challenge]
#ACT
set [107] 1
#SAY
good now good luck!\ \
<thanks/@exit>\


THEN in your mapquest.txt add :

0 [107] 1 LunaKing * LUNAKING

THEN in your mapquest_def add a .txt file called LUNAKING.txt with the following inside :

;----------------------------------------------

[@main]
#IF
check [107] 1
#SAY
Well done for killing the Lunaking! \
<thanks/@exit>\

;--------------------------------

Stan
 
Upvote 0