C .
ODE
G
AMELET
Focus Issue
如何檢測玩家按下「彈出顯項視窗」的按鈕?
bonboncha opened 8 months ago 9
用觸發-視窗確認裏面的比較字串去比較選項值
這這兩個都不行,彈出視窗的觸發好像不能檢查擴充的,因為連「視窗關閉」都不行。
把{}去掉就行了
圖三就是去{}的
抱歉剛才沒看到,你試試這個
{
"id": "event_0002",
"disabled": false,
"folder": "Inital",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 0,
"actions": [
{
"type": "ShowSelectDialog",
"data": {
"dialogId": "choice",
"title": "vvfe",
"message": "sssss",
"messageType": "text",
"msgImage": {
"msgImageAlias": "",
"msgImageSide": "left"
},
"controls": {
"buttonIconSide": "right",
"conBottom": 8,
"conBottomUnit": "px",
"confirmLabel": "確定",
"confirmIcon": "check",
"cancelLabel": "取消",
"cancelIcon": "close"
},
"options": {
"maxWidth": "",
"backgroundImage": "",
"transition": {
"tranClaz": "slide",
"tranDuration": "250",
"tranDirection": "up"
}
},
"defaultValue": "",
"selectOptions": [
{
"value": "a",
"label": "23",
"icon": ""
},
{
"value": "b",
"label": "24",
"icon": ""
},
{
"value": "c",
"label": "25",
"icon": ""
}
]
}
}
],
"checks": [],
"triggers": [
{
"type": "KeyboardPressed",
"data": {
"playerId": "*",
"playerLocal": "",
"timing": "pressed",
"key": 67,
"keyLocal": "",
"ctrl": "",
"shift": ""
}
}
],
"color": "#FFFFFF"
},
{
"id": "event_0002_copy2",
"disabled": false,
"folder": "Inital",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 0,
"actions": [
{
"type": "ActionTitle",
"data": {
"text": "c",
"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": [],
"triggers": [
{
"type": "DialogConfirm",
"data": {
"dialogId": "choice",
"value": "c",
"evtLocal": ""
}
}
],
"color": "#FFFFFF"
},
{
"id": "event_0002_copy3",
"disabled": false,
"folder": "Inital",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 0,
"actions": [
{
"type": "ActionTitle",
"data": {
"text": "a",
"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": [],
"triggers": [
{
"type": "DialogConfirm",
"data": {
"dialogId": "choice",
"value": "a",
"evtLocal": ""
}
}
],
"color": "#FFFFFF"
},
{
"id": "event_0002_copy1",
"disabled": false,
"folder": "Inital",
"startTime": 0,
"checkInterval": 10,
"repeats": -1,
"repeatInterval": 0,
"actions": [
{
"type": "ActionTitle",
"data": {
"text": "b",
"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": [],
"triggers": [
{
"type": "DialogConfirm",
"data": {
"dialogId": "choice",
"value": "b",
"evtLocal": ""
}
}
],
"color": "#FFFFFF"
},
用監聽作業看看
Nacht的要放哪啊? 然後監聽好像不行。
丟到.events的"event":的[]裏面
Items per page:
1 - 8 of 9
ⒸCode.Gamelet.com | Privacy Policy | Terms of Service