[2.3] Quest script problem!

SynteX

LOMCN Supporter
Supporter
Veteran
Jul 18, 2009
364
55
60
World Of Mir
Hello guys,

I just need a little help on this one, I made a first quest for test , and it must kill 10 deers & hens to give a reward..

I think I created a new functional from my mind and wrote " CheckMonsterKill " lol ..

anyways , here is :

[@main]
#Say
Hello <$USERNAME>\
Seems that your'e new,\
well , listen it's your first quest\
you have to kill 10 deers\
and 10 hens and i'll give you\
a reward.\\


<Accept/@accept> \
<Decline/@decline> \
<I have the hearts/@complete>




[@accept]
#Say
Good Boy! , go and do it.\\
<Okay/@exit>



[@decline]
#Say
Aww, seems that you're scared baby,\\
<Exit/@exit>




[@complete]
#Say
Have you killed them?
<Yes/@yes>\
<No/@no>\


[@Yes]
#If
CheckMonsterkill Hen 10 Deer 10
#Act
Give Gold 15000
Give CopperRing 2
#Say
Good Job buddy.\
#ELSESAY
It seems that you didn't kill the enough.\


[@no]
#Say
So, You have to get back and kill them.

<Okay/@exit>
 

hershire

LOMCN Veteran
Veteran
Loyal Member
Sep 5, 2004
427
10
45
You have a copy of my q-function from Atlantis? The check monster kill needs to go there not in npx

---------- Post Merged at 01:46 PM ---------- Previous Post was at 01:45 PM ----------

Also I'm pretty sure you need to use flags or variables to count the kills
 
Upvote 0