Rpgmakermv(30) GameQuest任务插件

插件简介:

很牛X的任务插件(个人目前用过中的)

插件用法说明

Report any bugs, editor or plugin related here:

http://forums.rpgmakerweb.com/index.php?/topic/49234-gameus-quest-system/

Before reporting a bug, check the version of editor/plugin to see if you're using an outdated version

I highly recommend checking out the demo found here:

http://jugglingcode.com/scripts/MV/QuestSystem/Demo.zip已经死链了

----------------------------------------------------

These are a list of following Plugin Commands:插件指令

----------------------------------------------------

Quest Add QuestID

Activates a quest. 任务添加

Quest NextStep QuestID

Progresses the quest to the next step.进行下一步

Quest BackStep QuestID

Makes the quest go back a step, allowing for steps to be failed.返回上一

Quest Complete QuestID

Completes the quest, if Auto Reward is on, the script will give out the rewards.任务完成

Quest Fail QuestID

Fails the quest.任务失败

Quest Remove QuestID

Removes the quest from the quest log, allowing it to be reset.移除任务,

Quest Reset QuestID

Resets the step and status of a quest. NOTE: Any switches/variables you might have set during a quest, WILL have to be reset manually.重置任务

Quest Open

This opens up the quest log. Alternatively, there's a script call you can use below.开启任务,结合公共事件与Yet_Main插件

----------------------------------------------------

Here's a list of script calls you can use in a conditional branch:插件脚本

----------------------------------------------------

SceneManager.push(Scene_Quest)

This opens up the quest scene, for those who enjoy script calls or are using it in a different plugin

 这些适用于沉迷脚本无法自拔的人

$gameQuests.get(quest_id).completed()

$gameQuests.get(quest_id).failed()

$gameQuests.get(quest_id).inProgress()

These calls are used to check the progress of a quest

Note, even if the party does not have the quest yet, these will return true/false.

$gameParty.hasQuest(quest_id)

This is how you check if the party has activated the quest yet. Use in conjunction with the above script calls

$gameParty.hasQuests([quest ids], filter)

Not to be confused with the one above, this checks multiple quests the party has and see if they match the filter.

Filter can be "progress", "completed", or "failed"

Returns true if all the input quests match the filter AND the party has them active. e.g. Can be used to see if the party has completed a range of quests before moving on

$gameQuests.get(quest_id).currentStep === step_number

This is how you check which step a quest is on. step_number starts from 0. NOTE: This will still return a number even if the quest hasn't been activated.

跳转到某一步;

注意,步数是从0,开始(可以理解为数组)

$gameQuests.get(quest_id).status === "status"

This will return what status the quest is. "status" can be "progress", "completed", or "failed"

$gameQuests.totalQuests(filter)

This gets you a total number of quests by the filter. Filter can be "all", "progress", "completed", or "failed". This applies to all quests.

$gameParty.totalQuests(filter)

Does the same as above, but only applies to the quests that the party has.

总结

对于不擅长程序的同学

只需记住插件指令的几条即可。

如果对插件也不那么熟悉..............请熟练掌握橙色的那几条,你就可以起飞了。

上一篇:Python之路 day3 全局变量、局部变量


下一篇:Glusterfs分布式存储介绍(一)