- Oct 14, 2008
- 54
- 0
- 32
I want that the npc check if you have killed a mob and you won a prize for kill it
i put in mapquest.txt
in mapquest_def\killer.txt
and then in npc i put
[@main]
#IF
CHECK [999] 1
#SAY
You have earned a reward\
<Thanks/@Exit>\\
#ACT
GIVE GOLD 1000000
SET [999] 0
#ELSESAY
You have not earned a reward\
<EXIT/@EXIT>\\
but dont work
can anyone say me why?
i put in mapquest.txt
Code:
E002 [999] 1 [MonDie] ScareCrow * [MapQuest_Def\Killer] [@scare]
in mapquest_def\killer.txt
Code:
[@scare]
#IF
CHECK [999] 0
#ACT
SET [999] 1
break
and then in npc i put
[@main]
#IF
CHECK [999] 1
#SAY
You have earned a reward\
<Thanks/@Exit>\\
#ACT
GIVE GOLD 1000000
SET [999] 0
#ELSESAY
You have not earned a reward\
<EXIT/@EXIT>\\
but dont work
can anyone say me why?