C .
ODE
G
AMELET
Project Code
OPEN
thfdr
Focus Issue
出兵問題
shane opened 8 months ago 9
也是官方的bug,我明明設定了按鍵指令會因陣營不同而改變,你可以看看我的專案原碼就知道
 
這個恐怕我就不知如何修改
大概是你沒將按鍵的玩家拿去對比陣營,所以只要場上存在皇家,事件就能通過
確實對比陣營了,你可以看看我的專案原碼事件匣中的"皇家召喚指令"及"天影召喚指令"
我有看過才說的,你好像只是檢查了場上有沒有陣營玩家,沒將按鍵的玩家拿去對比陣營,找出所有角色那裏的角色代碼是空的,也沒有用對比字串
研究了一段時間,還是不懂如何去對比陣營,請問能否指點一二,或是介紹相關的專案讓我參考一下?
,
{
"id": "event_0003",
"disabled": false,
"folder": "",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 0,
"actions": [
{
"type": "ActionTitle",
"data": {
"text": "皇家",
"size": "24",
"bold": true,
"color": "#ffffff",
"stroke": "#000000",
"strokeThickness": 4,
"direction": "rtol",
"shiftX": 0,
"shiftY": -60,
"duration": "2600",
"delay": "0",
"fadeinDuration": "300",
"fadeoutDuration": "300",
"wait": true
}
}
],
"checks": [
{
"type": "ForEachAltActor",
"data": {
"actorMatches": [
{
"actorCodes": [],
"excludeActorCodes": [],
"brain": "player",
"camp": {
"campAll": false,
"skydow": false,
"royal": true,
"third": false,
"otherCamp": false
}
}
],
"varname": "player",
"varname2": "actorNickname",
"maxTriggers": "0",
"donotActOnEachPass": false,
"varnameTotalLoops": "totalLoops",
"varnameOfPassCount": "totalPasses",
"_logi": {
"_and_or": ""
},
"_elseEventId": ""
}
},
{
"type": "String",
"data": {
"value": "{position.id}",
"method": "contain",
"str": "{player}",
"evtLocal": "",
"_logi": {
"_and_or": ""
},
"_elseEventId": ""
}
}
],
"triggers": [
{
"type": "KeyboardPressed",
"data": {
"playerId": "*",
"playerLocal": "position",
"timing": "pressed",
"key": 90,
"keyLocal": "",
"ctrl": "",
"shift": ""
}
}
],
"color": "#FFFFFF"
},
{
"id": "event_0003_copy1",
"disabled": false,
"folder": "",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 0,
"actions": [
{
"type": "ActionTitle",
"data": {
"text": "天影",
"size": "24",
"bold": true,
"color": "#ffffff",
"stroke": "#000000",
"strokeThickness": 4,
"direction": "rtol",
"shiftX": 0,
"shiftY": -60,
"duration": "2600",
"delay": "0",
"fadeinDuration": "300",
"fadeoutDuration": "300",
"wait": true
}
}
],
"checks": [
{
"type": "ForEachAltActor",
"data": {
"actorMatches": [
{
"actorCodes": [],
"excludeActorCodes": [],
"brain": "player",
"camp": {
"campAll": false,
"skydow": true,
"royal": false,
"third": false,
"otherCamp": false
}
}
],
"varname": "player",
"varname2": "actorNickname",
"maxTriggers": "0",
"donotActOnEachPass": false,
"varnameTotalLoops": "totalLoops",
"varnameOfPassCount": "totalPasses",
"_logi": {
"_and_or": ""
},
"_elseEventId": ""
}
},
{
"type": "String",
"data": {
"value": "{position.id}",
"method": "contain",
"str": "{player}",
"evtLocal": "",
"_logi": {
"_and_or": ""
},
"_elseEventId": ""
}
}
],
"triggers": [
{
"type": "KeyboardPressed",
"data": {
"playerId": "*",
"playerLocal": "position",
"timing": "pressed",
"key": 90,
"keyLocal": "",
"ctrl": "",
"shift": ""
}
}
],
"color": "#FFFFFF"
}
你試試看這個
懂了,謝謝
Items per page:
1 - 8 of 9
ⒸCode.Gamelet.com | Privacy Policy | Terms of Service