HollowPS_TV_experiments/extras/zzz-0.1-jsons/Event2011002.json

104 lines
3.5 KiB
JSON

{
"ID": 2011002,
"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":30060144,
"Progress":1,
"ModifyType":"Replace"
},
{
"$type": "Share.CConfigEmpty"
},
{
"$type":"Share.CConfigPrepareNextHollow",
"ShowOther":[
{
"$type":"Share.CConfigEventByCurse",
"CompareType":"Greater",
"Count":999
}
]
},
{
"$type": "Share.CConfigGotoNextHollow"
}
]
}
}
}