por Gauthier99 Seg maio 06, 2013 6:45 pm
For the number of monsters :
1) Go to the script
[WIN] Window_Quests2) Currently, your quests are like this :
- Código:
MISSION[1] = ["Name", Start_Switch, "Infos", Item_Neces., "Graphic of Monster", Number of Monster, End_Switch, Level, Gain_item]
You have to add the id of a game variable. This variable is the number of monsters who has already killed. You have to had it at the end like this :
- Código:
MISSION[1] = ["Name", Start_Switch, "Infos", Item_Neces., "Graphic of Monster", Number of Monster, End_Switch, Level, Gain_item, Number_kill]
For exemple :
- Código:
MISSION[1] = ["Bad monsters", 20, "Kill 3 Gluglus", 34, "092-Monster06", 3, 21, 1, 4, 21]
(21 is the ID of game variable)
3) In the same script, after
- Código:
@gain_item = Quest_Configure::MISSION[@id][8]
Add this :
- Código:
@killed = Quest_Configure::MISSION[@id][9]
4) Replace at the end of the script
- Código:
self.contents.draw_text(0, 130, 262, 32, LANGUAGE::QUESTMONSTERS+"x"+@quantidade.to_s)
by
- Código:
self.contents.draw_text(0, 130, 262, 32, LANGUAGE::QUESTMONSTERS+$game_variables[@killed].to_s+"/"+@quantidade.to_s)
5) Now, open the event menu of your monsters.
6 ) In the second page, add this at the beginning:
<> if Switch (start of quest) is on
--<> Variable [Number of Monster killed] + 1
<>end of condition
Normally it's work without problems. But I have made it from memory because I have already edit my quest script. If you have problems or any questions, ask me.