Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Eliminate n number of monster quest....
AphidRuin
post May 7 2011, 05:33 AM
Post #1


Level 9
Group Icon

Group: Revolutionary
Posts: 139
Type: Developer
RM Skill: Beginner




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!

This post has been edited by AphidRuin: May 7 2011, 05:34 AM


__________________________

Which Final Fantasy Character Are You?
Final Fantasy 7



Current Projects
First game - Shawn's Story]
Second game - TAE (Paused in order to complete Shawn's Story)

[Show/Hide] Cna uyo raed tihs?
Hleeo.Tahnk you for tkanig the tmie to raed tihs.I am bsaing tihs on the frist {oigranl} can you raed tihs?Yaeh olny smoe poelpe can sikm sneentces lkie tehse woituht hvanig to sotp.You rllaey olny hvae to konw the frist and end lttres of the wrod you are tyrnig to raed for yuor mnid to pcik tehm up esaily.Olny 55% of poelpe can raed tihs.I tihnk taht snice you konw waht you are raendig aoubt you can gesus the wrods.If you can raed tihs, palce it in yuor sgitanrue.Dnoe by Senapho.Oops.Sanehpo.


"Creative people don't say themselves as creative because they are creative." -Cheong Cheng Wen a.k.a AphidRuin
Go to the top of the page
 
+Quote Post
   
brewmeister
post May 7 2011, 06:58 AM
Post #2


Paste above Main
Group Icon

Group: Revolutionary
Posts: 408
Type: Scripter
RM Skill: Skilled




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.


__________________________
Go to the top of the page
 
+Quote Post
   
AphidRuin
post May 7 2011, 11:05 PM
Post #3


Level 9
Group Icon

Group: Revolutionary
Posts: 139
Type: Developer
RM Skill: Beginner




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.


__________________________

Which Final Fantasy Character Are You?
Final Fantasy 7



Current Projects
First game - Shawn's Story]
Second game - TAE (Paused in order to complete Shawn's Story)

[Show/Hide] Cna uyo raed tihs?
Hleeo.Tahnk you for tkanig the tmie to raed tihs.I am bsaing tihs on the frist {oigranl} can you raed tihs?Yaeh olny smoe poelpe can sikm sneentces lkie tehse woituht hvanig to sotp.You rllaey olny hvae to konw the frist and end lttres of the wrod you are tyrnig to raed for yuor mnid to pcik tehm up esaily.Olny 55% of poelpe can raed tihs.I tihnk taht snice you konw waht you are raendig aoubt you can gesus the wrods.If you can raed tihs, palce it in yuor sgitanrue.Dnoe by Senapho.Oops.Sanehpo.


"Creative people don't say themselves as creative because they are creative." -Cheong Cheng Wen a.k.a AphidRuin
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 03:27 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker