DyingDutchman

Warper
Member
Joined
Jul 6, 2016
Messages
1
Reaction score
0
First Language
Dutch
Primarily Uses
HI all!


I am trying to make my game work with Gameus's Quest System, and for now, it works like a charm. However, there is one problem regarding gathering quests. I got these really MMO'ey gathering quests in my game that involves getting certain loot from monsters you encounter. It is quite simple to script these events in order to work. Gameus's System however also tracks the progress of these quests in a quest log. For that to work i would have to update a certain variable after an item has been obtained in battle. That way the log always stays up to date.


Of course i can put an event in every room that continiously checks these items every tick, but that means that every time i make a new gathering quest, I will have to copy and paste this event in every map. I imagine there is a much simpler way of achieving this. Could anyone provide me with some much needed help? Thanks in advance!  :D
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,388
Reaction score
8,099
First Language
German
Primarily Uses
RMMV
If you want to do something after each battle (like updating variables), there is a trick to have a common event run exactly once after each battle.


1) name/reserve a switch "after battle".


2) in every troop, make a troop event on turn 0 to control on that switch (you might consider looking for a script that executes troop-one-events on every troop, that way you don't have to add that troop event everywhere).


3) make a common event, set it to parallel process and condition it to the "after battle"-switch.


4) after adding whatever you want to do after each battle, the last command on that common event has to be control switch "after battle" = OFF.


Parallel processes are stopped on any screen, including the battlescreen - so the common event parallel process will not get executed during battle, even if activated on first battleturn. However, it will be executed as soon as the battle is over and the player returns to map - and since it switches itself off, it will only be executed once (no need for a lagging constant parallel everywhere)
 

Latest Threads

Latest Profile Posts

It seems that I have to change the order with which I make the fantasy games on my bucket list, because the intended title is used as a story element in the first two games in the line, and somebody else might take the title for their own game because the term uses real words. I can't risk going over the apparent three year limit for registering trademark ahead of time.
I am interested in collaborations so if you like my art, hit up my messages! :wub
unknown.png

Making good progress with the second chapter. :)

Still work in progress.

(Real life, it is chronically the fourth chapter that I am making.)
constructionworkconcept.pngezgif-2-0acb620ecf8d.gifezgif-2-afeaf16ebb8d.gif "The Great Wall is great. But, most people can only be the slaves who built it, leaving their bones underneath that wall. They spent their whole life to build that wall and the empire, an empire that enslaves them." :kaoswt2: I'm just going to turn it into a modern-day sad tale.

Forum statistics

Threads
110,676
Messages
1,055,104
Members
143,796
Latest member
ShadyBrain_Entertainment
Top