265 lines
8.2 KiB
JSON
265 lines
8.2 KiB
JSON
{
|
|
|
|
"ID": 2020720,//c-一层
|
|
|
|
|
|
|
|
"Events": {
|
|
|
|
"OnStart": {
|
|
|
|
"Actions": [
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigIf",
|
|
|
|
"OnSuccess":"OnDirection",
|
|
|
|
"OnFailure":"OnEnd",
|
|
|
|
"Conditions":[ //c位置的范围内有一个zzz
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigEventByOr",
|
|
|
|
"Predicates":
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigEventByEventState",
|
|
|
|
"X":1,
|
|
|
|
"Y":1,
|
|
|
|
"Position":"Absolute",
|
|
|
|
"VisibleState":["Visible"],
|
|
|
|
"State":["ShowEvent"],
|
|
|
|
"Count":1,
|
|
|
|
"CompareType":"Equal",
|
|
|
|
"Radius":0,
|
|
|
|
"EventID":[2020701]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigEventByEventState",
|
|
|
|
"X":1,
|
|
|
|
"Y":3,
|
|
|
|
"Position":"Absolute",
|
|
|
|
"VisibleState":["Visible"],
|
|
|
|
"State":["ShowEvent"],
|
|
|
|
"Count":1,
|
|
|
|
"CompareType":"Equal",
|
|
|
|
"Radius":0,
|
|
|
|
"EventID":[2020701]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"OnDirection": {
|
|
|
|
"Actions": [
|
|
|
|
//从上来
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump":"OnUp",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigEventByDirection",
|
|
|
|
"Direction":
|
|
|
|
[
|
|
|
|
"Up"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
//从下来
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump":"OnDown",
|
|
|
|
"Predicates":[
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigEventByDirection",
|
|
|
|
"Direction":
|
|
|
|
[
|
|
|
|
"Down"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"OnUp": {
|
|
|
|
"Actions": [
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 1,
|
|
|
|
"Y": 3,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventID": [ 2020701 ],//zzz
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [ 2020707 ],//kong
|
|
|
|
"EventState": "Locked",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventModification",
|
|
|
|
// "X": 2,
|
|
|
|
// "Y": 3,
|
|
|
|
// "Position": "Absolute",
|
|
|
|
// "Radius": 0,
|
|
|
|
// "ModificationNum": 1,
|
|
|
|
// "ModificationType": 1,
|
|
|
|
// //"TargetEventID": [ 2020707 ],//空
|
|
|
|
// "TargetVisibleState":[ "Visible"],
|
|
|
|
// "TargetEventType": 1,
|
|
|
|
// "EventID": [ 2020701 ],//zzz
|
|
|
|
// "EventState": "ShowEvent",
|
|
|
|
// "VisibleState": "Visible"
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigWaitSeconds",
|
|
|
|
// "Time": 0.2
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventModification",
|
|
|
|
// "X": 2,
|
|
|
|
// "Y": 3,
|
|
|
|
// "Position": "Absolute",
|
|
|
|
// "Radius": 0,
|
|
|
|
// "ModificationNum": 1,
|
|
|
|
// "ModificationType": 1,
|
|
|
|
// "TargetEventID": [ 2020701 ],//zzz
|
|
|
|
// "TargetEventType": 1,
|
|
|
|
// "EventID": [ 2020722 ],//f
|
|
|
|
// "EventState": "Locked",
|
|
|
|
// "VisibleState": "Visible"
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 3,
|
|
|
|
"Y": 3,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
//"TargetEventID": [ 2020707 ],//空
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"TargetVisibleState":[ "Visible"],
|
|
|
|
"EventID": [ 2020701 ],//zzz
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump":"OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"OnDown": {
|
|
|
|
"Actions": [
|
|
|
|
//判断a开关状态
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump":"OnEnd",
|
|
|
|
"Predicates":[ //判断a点是否为关闭
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "Eventa.2020719",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": -1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 1,
|
|
|
|
"Y": 1,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventID": [ 2020701 ],//zzz
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [ 2020707 ],//kong
|
|
|
|
"EventState": "Locked",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventModification",
|
|
|
|
// "X": 2,
|
|
|
|
// "Y": 1,
|
|
|
|
// "Position": "Absolute",
|
|
|
|
// "Radius": 0,
|
|
|
|
// "ModificationNum": 1,
|
|
|
|
// "ModificationType": 1,
|
|
|
|
// //"TargetEventID": [ 2020707 ],//空
|
|
|
|
// "TargetEventType": 1,
|
|
|
|
// "TargetVisibleState":[ "Visible"],
|
|
|
|
// "EventID": [ 2020701 ],//zzz
|
|
|
|
// "EventState": "ShowEvent",
|
|
|
|
// "VisibleState": "Visible"
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigWaitSeconds",
|
|
|
|
// "Time": 0.2
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// "$type": "Share.CConfigEventModification",
|
|
|
|
// "X": 2,
|
|
|
|
// "Y": 1,
|
|
|
|
// "Position": "Absolute",
|
|
|
|
// "Radius": 0,
|
|
|
|
// "ModificationNum": 1,
|
|
|
|
// "ModificationType": 1,
|
|
|
|
// "TargetEventID": [ 2020701 ],//zzz
|
|
|
|
// "TargetEventType": 1,
|
|
|
|
// "EventID": [ 2020719 ],//a
|
|
|
|
// "EventState": "Locked",
|
|
|
|
// "VisibleState": "Visible"
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": 3,
|
|
|
|
"Y": 1,
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
//"TargetEventID": [ 2020707 ],//空
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"TargetVisibleState":[ "Visible"],
|
|
|
|
"EventID": [ 2020701 ],//zzz
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigWaitSeconds",
|
|
|
|
"Time": 0.5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump":"OnEnd"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
"OnEnd": {
|
|
|
|
"Actions": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigFinishEvent"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|