l3m35

Veteran
Veteran
Joined
Nov 24, 2017
Messages
53
Reaction score
15
First Language
PT-BR
Primarily Uses
RMMV
I'm trying to make a bar or percentage of progression of each quest, so the player will know how long the quest is even not seeing all objectives (reveal all objectives from the start is not in my plans).

For this, I'm using a common event, like this:

Screenshot_5.jpg

The var 261 gets the total objectives of the quest #2 LESS 1 (because $gameSystem.totalQuestObjectives is returning 1 more than the real number, not sure if it's a bug of the plugin or not).

Then I check if the last objective was completed, to show a simple message "100% completed" - it's just a test, each percentage would have it's own message.

This is working but I would need to use a large number of vars (one for each quest, and I'm planning to have a lot of them). If I have a way to get the quest ID, I would need a single var, updated every time the player checks the quest menu.
Anyone experienced with this plugin have an idea?
 

Kikeluzi

Paladin
Veteran
Joined
Nov 18, 2015
Messages
52
Reaction score
27
First Language
Portuguese - Br
Primarily Uses
RMMV
Did you do it? if so, how did you do it? I'd like to check if such a quest is available to make a condition =P
 

l3m35

Veteran
Veteran
Joined
Nov 24, 2017
Messages
53
Reaction score
15
First Language
PT-BR
Primarily Uses
RMMV
No, not yet. Only using multiple vars (one for each quest), I did one as a test and it's working. Get the ID when the scene is open would be much better. I let it aside by now to work in other parts of my game.
 

Kikeluzi

Paladin
Veteran
Joined
Nov 18, 2015
Messages
52
Reaction score
27
First Language
Portuguese - Br
Primarily Uses
RMMV
No, not yet. Only using multiple vars (one for each quest), I did one as a test and it's working. Get the ID when the scene is open would be much better. I let it aside by now to work in other parts of my game.

I think I found that out.
I was looking at the settings of this plugin to see the codes that were used... basically, it's the examples he/she used.

ex:
Code:
$gameSystem.getQuestDescriptionIndex(questId);

the Quest ID code is this "questId"

ex:
Code:
$gameSystem.isQuestObjectiveCompleted(questId, objectiveId)

the Objective ID code is this "objectiveId"

There are other things too, that I don't remember exactly, but, there are codes for the plugins commands too that is not mencioned in the plugin description, but can be used to help by using scripts... like this one:
1588695146000.png
script: $gameSystem.questAdd(questId) = command: Quest Add x

I don't understand javascript, what I did was the following ... I looked for the "plugin commands" in the JS file (CTRL + F) and I was looking for the codes used to make them. the ones that had "$gameSystem.something" were working... xD

The thing I was looking for I didn't find... but I hope I was able to help you with something :p
 

Latest Threads

Latest Posts

Latest Profile Posts

Apparently MZ lets you preview move routes in the move route editor without having to start up test game. That could save a lot of time during development compared to MV, especially for a long game that uses a lot of event movement for cutscenes.
A repost of an old meme I had made, now with music

I have a really hard time keeping all these goodies secret til December... but I swear, it is worth the wait!
Working on a Premium version of my minimap plugin that will have advanced functionalities such as drawing a Terrain map based completely on the users tilesets, whatever they may be, and drawing minimap radar icons automatically based on texture of the event the note is applied to.

Forum statistics

Threads
115,859
Messages
1,093,529
Members
151,081
Latest member
MOLLARTA
Top