//配置录像店1级脚本风向-萝卜的警告-结束脚本



{

    "ID": 310100021,

    "Sections": {

        "2": {

            "SectionProgress": {

                "ID": 310100022,

                "OnBeforeEnter": [

                    "Sec1_SetPlayerPosTrigger"

                ],

                "OnEnter": [

                    "Sec1_DefaultTrigger"

                ],

                "OnExit": [

                    "Sec1_Destruct"

                ],

                "OnAdd": [

                    "Sec1_Destruct2"

                ],

                "OnBeforeRemove": [

                    "Sec1_Destruct"

                ],

                "Events": {

                    "Sec1_DefaultTrigger": {

                        "ID": 100,

                        "Actions": [

                            //结束交付npc

                            

                            {

                                "$type": "Share.CActionCreateNPCCfg",

                                "ID": 101,

                                "TagID": 3027

                            },

                            {

                                "$type": "Share.CActionCreateNPCCfg",

                                "ID": 102,

                                "TagID": 3028

                            },

                            {

                                "$type": "Share.CActionChangeInteractCfg",

                                "ID": 103,

                                "InteractID": 30011002,

                                "TagIDs": [

                                    3027

                                ],

                                "Participators": {

                                    "3027": "A"

                                },

                                "InteractShape": "Sphere",

                                "InteractScale": {

                                    "X": 2,

                                    "Y": 0,

                                    "Z": 0

                                }

                            },

                            {

                                "$type": "Share.CConfigSetVHSStoreTrendState",

                                "ID": 104,

                                "TrendID": 201002,

                                "State": 1                              

                            }

                            // {

                            //     "$type": "Share.CActionWait",

                            //     "ID": 102,

                            //     "MilliSeconds": 500

                            // },

                            // {

                            //     "$type": "Share.CActionShowTip",

                            //     "ID": 103,

                            //     "TipID": 999300001,

                            //     "ShowPage": 1

                            // }

                        ]

                    },

                    "Sec1_Destruct": {

                        "ID": 400,

                        "Actions": [

                            //脚本卸载时清理NPC

                            {

                                "$type": "Share.CActionRemoveNPCCfg",

                                "ID": 401,

                                "TagID": 3027

                            },

                            {

                                "$type": "Share.CActionRemoveNPCCfg",

                                "ID": 402,

                                "TagID": 3028

                            }

                        ]

                    },

                    "Sec1_Destruct2": {

                        "ID": 200,

                        "Actions": [

                            //脚本卸载时清理NPC

                            {

                                "$type": "Share.CActionRemoveNPCCfg",

                                "ID": 201,

                                "TagID": 3022

                            },

                            {

                                "$type": "Share.CActionRemoveNPCCfg",

                                "ID": 202,

                                "TagID": 3026

                            }

                        ]

                    },

                    "Sec1_SetPlayerPosTrigger": {

                        "ID": 300,

                        "Actions": [

                            //移动到npc面前

                            {

                                "$type": "Share.CActionChangeBackSceneInfoCfg",

                                "ID": 301,

                                "SectionID": 2,

                                "OpenUI": "None",

                                "Transform": "Workshop_PlayerPos_VHS31020002"

                            }

                        ]

                    }

                }

            }

        }

    }

}

