差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 上一修订版 两侧同时换到之后的修订记录 | ||
插件手册:betonquest:关联插件 [2020/02/15 19:55] 小小k酱 [Quests] |
插件手册:betonquest:关联插件 [2020/02/15 20:10] 小小k酱 [Quest event: ''quest'' (BetonQuest)] |
||
---|---|---|---|
行 271: | 行 271: | ||
Quests 是另一个任务制作插件,提供轻量级的任务制作。如果你只是想制作一个简单的任务而不需要大量复杂的高级功能,可以使用BetonQuest提供的接口与Quests对接。比如你可以在Quests中,通过选择“自定义奖励Custom Event Reward”或“自定义达成条件Custom Condition Requirement”,来使用在BetonQuest编写的事件Events和条件Conditions。你也可以将已经编写好的Quests任务对接到BetonQuest,BQ提供的'' | Quests 是另一个任务制作插件,提供轻量级的任务制作。如果你只是想制作一个简单的任务而不需要大量复杂的高级功能,可以使用BetonQuest提供的接口与Quests对接。比如你可以在Quests中,通过选择“自定义奖励Custom Event Reward”或“自定义达成条件Custom Condition Requirement”,来使用在BetonQuest编写的事件Events和条件Conditions。你也可以将已经编写好的Quests任务对接到BetonQuest,BQ提供的'' | ||
- | ==== Event Reward (Quests) ==== | + | ==== 自定义奖励 |
- | When adding rewards to a quest or a stage, choose "Custom reward" and then select "BetonQuest event". Now specify event' | + | 当你在Quests的设计中需要将BQ奖励添加到任务或任务阶段时,选择“自定义奖励 |
- | ==== Condition Requirement (Quests) ==== | + | 译注:这个事件不仅可以用于奖励,你也可以用这个机制去触发其它事件,比如让世界下雨(BQ的'' |
- | When adding requirements to a quest, choose " | + | ==== 条件要求 Condition Requirement |
- | ==== Quest event: '' | + | 在Quests添加条件的时候,选择“自定义要求Custom requirement”,然后选择“BetonQuest条件 BetonQuest condition”,然后输入条件名称(注意包名字要有)即可。 Quests在启动该任务之前会判断这个BetonQuest条件是否满足。 |
- | This event will start the quest for the player. The first argument must be the name of the quest, as defined in '' | + | ==== Quest事件: |
- | **Example**: '' | + | 这个事件被触发时会启动一个新的Quests任务(不是BQ任务)。 |
+ | |||
+ | 第一个参数是Quests任务名,具体请参照Quests的'' | ||
+ | |||
+ | 第二个可选参数是'' | ||
+ | |||
+ | **例子**: '' | ||
==== Quest condition: '' | ==== Quest condition: '' |