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 Profile Posts

DerniBorges wrote on TSR's profile.
Is there any way this plugin works with the big character, and the QSprite plugin? Using RTP chars, everything works fine, but the big ones, with QSprite, it's like that in the image, it doesn't reflect right. And there is, in the settings, an option to fix it. Thanks.
bug2.png
Bengawan Solo with fantasy style arrangement. :D
So I just got my computer back (Was posting stuff on my phone) But now my dang monitor's broken! I'll need to get a new one, which means... JOBS! Yaaay... When I get a new monitor, I'll post picture of one of my RPGMMV projects.
Wish me luck... :kaodes:
Had to clean up disk space because Windows Updates was having my primaries' disk space for breakfast, lunch and dinner. I guess the clean up thingy doesn't work or something because there were 15gigs of old update files in it.

Forum statistics

Threads
115,892
Messages
1,093,779
Members
151,140
Latest member
soounreal
Top