//起始

{

    "ID": 2020901,

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "StartPosX_2020901",

                    "Value": "playerpos(X)"

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "StartPosY_2020901",

                    "Value": "playerpos(Y)"

                },

                //介绍任务详情

                //决定需要找的颜色

                //modifier修改成最多数的

                //告知需要找出的颜色

                //--开始寻找-click

                //抬起镜头

                //看颜色

                //等待时间

                //关闭，事件结束

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "CorrectColor_2020901",

                    "Value": "rand(2,5)"

                },

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    //对话框内容

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_2020901_Log1"

                    ]

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event_2020901_Title",//问答时刻

                    "Description": "Event_2020901_Des1",

                    "QuestionDescription": "Event_2020901_QuestionDes1_{scenevar(CorrectColor_2020901)}",//本次需要找出所有"XX色"的区域

                    "Choices": [

                        {

                            "OptionText": "Event_2020901_OP1_1",//我准备好了

                            "OptionText2": "Event_2020901_OP1_2",//我准备好了

                            "OptionIcon1": 113,

                            "Predicates":

                            [

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "CorrectColor_2020901",

                                    "CompareType": "Equal",

                                    "Count": 2

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060067,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060069,

                                            "Progress":4,

                                            "ModifyType":"Add"

                                        },

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060070,

                                            "Progress":4,

                                            "ModifyType":"Add"

                                        }

                                        

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_2020901_OP1_1",//我准备好了

                            "OptionText2": "Event_2020901_OP1_2",//我准备好了

                            "OptionIcon1": 113,

                            "Predicates":

                            [

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "CorrectColor_2020901",

                                    "CompareType": "Equal",

                                    "Count": 3

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060067,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060068,

                                            "Progress":4,

                                            "ModifyType":"Add"

                                        },

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060069,

                                            "Progress":4,

                                            "ModifyType":"Add"

                                        }



                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_2020901_OP1_1",//我准备好了

                            "OptionText2": "Event_2020901_OP1_2",//我准备好了

                            "OptionIcon1": 113,

                            "Predicates":

                            [

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "CorrectColor_2020901",

                                    "CompareType": "Equal",

                                    "Count": 4

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060067,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060068,

                                            "Progress":4,

                                            "ModifyType":"Add"

                                        },

                                        {

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060070,

                                            "Progress":4,

                                            "ModifyType":"Add"

                                        }



                                    ]

                                }

                            ]

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundIndexX":53,

                    "BoundIndexY":121,

                    "CanControl":false,

                    "UseStretchZ":true

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 10,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020904 ],//zzz

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 4

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 10,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020903 ],//zzz

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 3

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 10,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020902 ],//zzz

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 2

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID":"202090102",//17

                    "Delay": 0,

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 2

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID":"202090103",//17

                    "Delay": 0,

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 3

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID":"202090104",//17

                    "Delay": 0,

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 4

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 10,

                    "ModificationType": 2,

                    "TargetEventID": [ 2020902,2020903,2020904 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 1003 ],//zzz

                    "EventState": "Guide",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                //---准备---

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 3,

                    "ModificationType": 2,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020902,2020903,2020904 ],//zzz

                    "EventState": "Unlocked",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 3,

                    "ModificationType": 2,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020902,2020903,2020904 ],//zzz

                    "EventState": "Unlocked",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 3,

                    "ModificationType": 2,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020902,2020903,2020904 ],//zzz

                    "EventState": "Unlocked",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020904 ],//zzz

                    "EventState": "Unlocked",

                    "VisibleState": "Visible",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 4

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020903 ],//zzz

                    "EventState": "Unlocked",

                    "VisibleState": "Visible",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 3

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 20,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],//空

                    "TargetEventType": 1,

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 2020902 ],//zzz

                    "EventState": "Unlocked",

                    "VisibleState": "Visible",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "CorrectColor_2020901",

                            "CompareType": "Equal",

                            "Count": 2

                        }

                    ]

                },

                //---



                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "EventTypeTag":"Color",

                    "X": 0,

                    "Y": 0,

                    "Radius": 20,

                    "Count": 4,

                    "FromState": [

                        "Unlocked"

                    ],

                    "ToState": ["ShowEvent"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1.3

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "EventTypeTag":"Color",

                    "X": 0,

                    "Y": 0,

                    "Radius": 20,

                    "Count": 4,

                    "FromState": [

                        "ShowEvent"

                    ],

                    "ToState": ["Locked"]

                },



                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },



                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "EventTypeTag":"Color",

                    "X": 0,

                    "Y": 0,

                    "Radius": 20,

                    "Count": 2,

                    "FromState": [

                        "Unlocked"

                    ],

                    "ToState": ["ShowEvent"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1.15

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "EventTypeTag":"Color",

                    "X": 0,

                    "Y": 0,

                    "Radius": 20,

                    "Count": 2,

                    "FromState": [

                        "ShowEvent"

                    ],

                    "ToState": ["Locked"]

                },



                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },



                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "EventTypeTag":"Color",

                    "X": 0,

                    "Y": 0,

                    "Radius": 20,

                    "Count": 4,

                    "FromState": [

                        "Unlocked"

                    ],

                    "ToState": ["ShowEvent"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "EventTypeTag":"Color",

                    "X": 0,

                    "Y": 0,

                    "Radius": 20,

                    "Count": 4,

                    "FromState": [

                        "ShowEvent"

                    ],

                    "ToState": ["Locked"]

                },



                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "X": 0,

                    "Y": 0,

                    "Radius": 1,

                    "Count": 4,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.2

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "X": 0,

                    "Y": 0,

                    "Radius": 2,

                    "Count": 6,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.2

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "X": 0,

                    "Y": 0,

                    "Radius": 3,

                    "Count": 6,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },



                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Back",

                    "Type": "Back",

                    "CanControl":true,

                    "UseStretchZ":false

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

