【漢化】YEP193-Merge Common Events (YEP)

Introduction

For those using complex eventing systems utilizing Labels and Common Events, you may have noticed that labels in one Common event won't jump to any labels located in the parent Common Event. This plugin makes it so that Common Events with the <Merge> tag in their database name will import all child Common Events ran from it and merge it into the current list as if the Common Events have consolidated into one. By doing such a thing, Labels become connected through the parent Common Event and can interact with each other instead of just of just the Common Event instance itself before.

對(duì)于那些使用標(biāo)簽和公共事件的復(fù)雜事件系統(tǒng)的用戶,您可能已經(jīng)注意到一個(gè)公共事件中的標(biāo)簽不會(huì)跳轉(zhuǎn)到父公共事件中的任何標(biāo)簽。這個(gè)插件使得數(shù)據(jù)庫名稱中帶有<merge>標(biāo)記的公共事件將導(dǎo)入從中運(yùn)行的所有子公共事件,并將其合并到當(dāng)前列表中,就像公共事件合并到一個(gè)列表中一樣。通過這樣做,標(biāo)簽通過父公共事件連接起來,并且可以相互交互,而不僅僅是之前的公共事件實(shí)例本身。

Name Tags

<Merge>

  • Just insert this into any Common Event's name in the database that you want to merge all child Common Events into. Let's take a look at how this will make things behave:

-只需將其插入到數(shù)據(jù)庫中要將所有子公共事件合并到的任何公共事件的名稱中。讓我們看看這將如何使事情表現(xiàn)


Common Event 1:

◆Label:Top
◆Common Event: 2
◆Common Event: 3
◆Label:Middle
◆Common Event: 4
◆Jump to Label:Top
◆Label:End


Common Event 2:

◆Text:None, Window, Bottom
: :Merge 1
◆Jump to Label:Middle


Common Event 3:

◆Text:None, Window, Bottom
: :Merge 2
◆Jump to Label:Top


Common Event 4:

◆Text:None, Window, Bottom
: :Merge 3
◆Jump to Label:End

Without <Merge> in the name, the Common Event will go through and display messages Merge 1 through 3. The Jump to Label events in the child Common Events are ignored because there's no Labels inside their own Common Event lists. After that, the event will loop forever over and over.

如果名稱中沒有<merge>,公共事件將遍歷并顯示消息merge 1到3。子公共事件中標(biāo)記事件的跳轉(zhuǎn)將被忽略,因?yàn)樗鼈冏约旱墓彩录斜碇袥]有標(biāo)簽。在那之后,這個(gè)事件將永遠(yuǎn)循環(huán)。

As a result of adding <Merge> to Common Event 1's name, this is what the event will run like.

將<merge>添加到公共事件1的名稱后,事件將以這種方式運(yùn)行。


Common Event 1:

◆Label:Top
◆Text:None, Window, Bottom
: :Merge 1
◆Jump to Label:Middle
◆Text:None, Window, Bottom
: :Merge 2
◆Jump to Label:Top
◆Label:Middle
◆Text:None, Window, Bottom
: :Merge 3
◆Jump to Label:End
◆Jump to Label:Top
◆Label:End

The event will display the 'Merge 1' message, jump to the 'Middle' label, display the 'Merge 3', and then jump the 'End' label to close out the event.

事件將顯示“合并1”消息,跳到“中間”標(biāo)簽,顯示“合并3”,然后跳到“結(jié)束”標(biāo)簽以結(jié)束事件。

WARNING: When using <Merge> be wary of common events that lead back to any common events that were used earlier, for this may cause an infinite loop and lock out your game.

警告:使用<merge>時(shí),請(qǐng)小心導(dǎo)致返回先前使用的任何常見事件的常見事件,因?yàn)檫@可能會(huì)導(dǎo)致無限循環(huán)并鎖定您的游戲。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容