Help - Search - Members - Calendar
Full Version: Eliminate n number of monster quest....
RPG RPG Revolution Forums > Scripting > Event Emporium
AphidRuin
Well, this has always been a problem. For those who had played Maplestory, once you accept a quest of killing n number of x monster, it would appear in the quest list. For the quest list I will post it in the script request, but for the monster counting, it is impossible(as far as I know)to use variables to count when the monster is only in an random encounter/battle.

Is there a way to do this using events? Or more preferabily(wrong spelling) in a script? Please do give some advice.

Thanks smile.gif

And YES I am finally a Revolutionary!
brewmeister
In the Troop tab for that monster, in the 'Battle Event',

Set the condition to Turn 0 + 0
Set the Span to "Battle" (run once per battle)
@>Control Variables: [0001: Monsters killed] += 1

This will increase the variable by 1 for each monster you fight.
Technically, it increments the variable at the beginning of the fight, BUT....
If you lose, you go right to "Game Over", and the variable will be restored to the last save.

You could also add a conditional branch here to check the variable & set a switch to indicate the quest is completed.
AphidRuin
QUOTE (brewmeister @ May 7 2011, 10:58 PM) *
In the Troop tab for that monster, in the 'Battle Event',

Set the condition to Turn 0 + 0
Set the Span to "Battle" (run once per battle)
@>Control Variables: [0001: Monsters killed] += 1

This will increase the variable by 1 for each monster you fight.
Technically, it increments the variable at the beginning of the fight, BUT....
If you lose, you go right to "Game Over", and the variable will be restored to the last save.

You could also add a conditional branch here to check the variable & set a switch to indicate the quest is completed.


Thanks for your reply. I'll use that. Maybe by adding a condition branch so when the player accepts the quest, the counting of the monsters killed starts.

Meanwhile for the conditional branch and checking of the quest's status I will request an add-on to my current script.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.