{ "ID": 2011006, "EventTypeTag": [ "NoneInteractEventWithAnim" ], "Events": { "OnCreate":{ "Actions":[ //记录自己位置 { "$type":"Share.CConfigSetHollowVariable", "Key":"finalPos_x3", "Value": "getpos(X,2)" }, { "$type":"Share.CConfigSetHollowVariable", "Key":"finalPos_y3", "Value": "getpos(Y,2)" } ] }, "OnStart":{ "Actions":[ //清空之前的Delta坐标 { "$type":"Share.CConfigSetHollowVariable", "Key":"Delta_Final1", "Value": 0 }, //计算Delta_Final1 { "$type":"Share.CConfigSetHollowVariable", "Key":"Delta_Final1", "Value": "scenevar(boxPos_x1)-scenevar(finalPos_x3)+scenevar(boxPos_y1)-scenevar(finalPos_y3)" }, { "$type": "Share.CConfigJump", "Predicates":[ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Delta_Final1", "CompareType": "NotEqual", "Count": 0 } ], "Jump": "PushBack" }, //坐标重合,走切层 { "$type": "Share.CConfigJump", "Predicates":[ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Delta_Final1", "CompareType": "Equal", "Count": 0 } ], "Jump": "OnNextHollow" } ] }, "PushBack":{ "Actions":[ { "$type": "Share.CConfigShowTip", "TipID": 201100201 }, { "$type":"Share.CConfigPushBack" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnNextHollow": { "Actions": [ { "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060147, "Progress":1, "ModifyType":"Add" }, { "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060153, "Progress":1, "ModifyType":"Replace" }, { "$type": "Share.CConfigPreset", "PerformKey" : "Chessboard_FinishHollow" }, { "$type": "Share.CConfigFinishHollow" } ] } } }