//结束事件

{

    "ID": 9991232,

    "Specials": {

        "Count": 7

    },

    "Events": {

        "OnCreate": {

            "Actions": [

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "TriggerPosition",

                    "CanControl": false

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 999123201,

                    "Delay": 0

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "CanControl": true

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnStart": {

            "Actions": [

                //报告位置

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "PlayerR.1000",

                    "Value": 0

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "PlayerP.1000",

                    "Value": 0

                },

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "JsonText_1381" // 把东西尽快交给“牧师”吧。

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishHollow"

                }

            ]

        },

        "OnTurn": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetSpecial",

                    "SpecialName": "Count",

                    "SpecialValue": "specials(Count)-1"

                },

                {

                    "$type": "Share.CConfigIf",

                    "OnSuccess": "PatrolSpeed",

                    "OnFailure": "OnEnd",

                    "Conditions": [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "Count",

                            "Param": 0,

                            "CompareType": "Equal"

                        }

                    ]

                }

            ]

        },

        "PatrolSpeed": {

            "Actions": [

                //设置变量

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Speed.1000",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

