Re: [問題] OR = 的事件寫法

看板Paradox (P社)作者 (貓拳四郎 ○(#‵︿′ㄨ))時間17年前 (2007/11/11 00:24), 編輯推噓2(202)
留言4則, 2人參與, 最新討論串5/6 (看更多)
※ 引述《ThomasJP (筆劍春秋梁父吟)》之銘言: : ※ 引述《Connels (貓拳四郎 ○(#‵︿′ㄨ))》之銘言: : : 氣死我了... : : 我已經手動觸發429003了 : : 怎麼還是不觸發? : : event = { : : id = 429005 : : random = no : : country = SPA : : trigger = { : : OR = { event = 429003 } : : OR = { event = 429004 } : : } : 試試看這樣寫吧 : OR = { event = { id = 429003 } : event = { id = 429004 } : } : 我看了下之前討論的事件條件 : 要發生二選一的話都是在同一個OR括號中的欸... 照這個事件看來是這樣沒錯 ######################################################################### # The Molotov-Ribbentrop Pact (Modified by Aregorn) ######################################################################### event = { id = 2050 random = no country = GER trigger = { exists = SOV NOT = { OR = { war = { country = SOV country = GER } alliance = { country = GER country = POL } alliance = { country = GER country = SOV } ispuppet = GER ispuppet = SOV ispuppet = POL } } } 還有 event = { id = 2018 random = no country = GER trigger = { random = 25 control = { province = 485 data = ger } # Warzaw NOT = { exists = POL } NOT = { war = { country = GER country = SOV } } OR = { event = 2013 event = 2015 event = 2016 } NOT = { event = 2624 } } ※ 編輯: Connels 來自: 59.117.179.169 (11/11 00:27)

11/11 00:28, , 1F
所以我最之前的寫法沒錯啊! 應該是其他地方有問題 =.=
11/11 00:28, 1F

11/11 00:55, , 2F
OR沒排錯的話乾脆檢查大括號有沒有對應好了@_@
11/11 00:55, 2F

11/11 01:28, , 3F
我檢查好幾遍了,眼睛都快拖窗了,我想不是大括號的問題
11/11 01:28, 3F

11/11 01:29, , 4F
因為如果是大括號多打少打,讀取記錄時會跳出錯誤訊息
11/11 01:29, 4F
文章代碼(AID): #17DTiw_w (Paradox)
文章代碼(AID): #17DTiw_w (Paradox)