{

    "ID": 2020843, //区域入口

    "Events": {

        "OnStart": {

            "Actions": [

                //镜头

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundIndexX":4,

                    "BoundIndexY":58

                  },

                  {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": "0.5"

                  },

                //关门

                {

                    "$type": "Share.CConfigSetMapState",

                    "X": 7,

                    "Y": 4,

                    "Position": "Absolute",

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "Visible"

                    ],

                    "ToVisibleState": [

                        "VisibleByTriggerEvent"

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "X": 8,

                    "Y": 2,

                    "Position": "Absolute",

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "Visible"

                    ],

                    "ToVisibleState": [

                        "VisibleByTriggerEvent"

                    ]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": "0.5"

                  },

                //敌人1

                //下一步出现

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 6,

                    "Y": 0,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2020844

                    ], //移动敌人

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                //上一步还原

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 5,

                    "Y": 0,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2020844

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        1000

                    ],

                    "EventState": "Unstable",

                    "VisibleState": "Visible"

                },

                //敌人2

                //下一步出现

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 5,

                    "Y": 3,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2020855

                    ], //移动敌人

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                //上一步还原

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 6,

                    "Y": 3,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    // "TargetEventID": [

                    //     2020855

                    // ],

                    "TargetEventType": 1,

                    "EventID": [

                        1000

                    ],

                    "EventState": "Unstable",

                    "VisibleState": "Visible"

                },

                //入口格子失效

                //拿到玩家坐标

                {

                    "$type":"Share.CConfigSetSpecial",

                    "SpecialName":"Player_X",

                    "SpecialValue":"playerpos(X)"

                },

                {

                    "$type":"Share.CConfigSetSpecial",

                    "SpecialName":"Player_Y",

                    "SpecialValue":"playerpos(Y)"

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 202080508

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 202080509

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": "1"

                  },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Back",

                    "Type": "Player"

                },

                //关门标记

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "CloseDoor.2020834",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }    

    }

}