turnbasedgamedata/Config/Level/Props/Chap03/InitLevelGraph_Prop_Chap03_SparkleMask_02.json
2024-10-21 03:16:22 -03:00

316 lines
9.7 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Hidden",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"Visible": true,
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"Visible": true,
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_SparkleMask_02_Loop_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffRoot",
"Scale": {
"X": 1,
"Y": 1,
"Z": 1
}
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"FromAnyState": true,
"ToState": "Hidden",
"OnChange": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_SparkleMask_01_FadeOut_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffRoot",
"Scale": {
"X": 1,
"Y": 1,
"Z": 1
}
}
]
},
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_SparkleMask_02_Loop_Lod0.prefab",
"Flags": []
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"FromState": "Hidden",
"OnChange": [
{
"$type": "RPG.GameCore.PropEnableCollider",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_SparkleMask_01_Fadein_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffRoot",
"Scale": {
"X": 1,
"Y": 1,
"Z": 1
}
}
]
},
{
"$type": "RPG.GameCore.RemoveEffect",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_SparkleMask_02_Loop_Lod0.prefab",
"Flags": []
},
{
"$type": "RPG.GameCore.WaitSecond",
"WaitTime": {
"IsDynamic": false,
"FixedValue": {
"Value": 0.5
}
}
},
{
"$type": "RPG.GameCore.PropSetVisibility",
"Visible": true,
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"ToState": "Open",
"OnChange": [
{
"$type": "RPG.GameCore.PropSetVisibility",
"Visible": true,
"SpecifiedRelativePaths": [],
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.PropEnableCollider",
"Enabled": true,
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
},
{
"$type": "RPG.GameCore.TriggerEffectList",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"EffectList": [
{
"EffectPath": "Effects/Eff_Prefab/Eff_Scene/InteractiveProp/Eff_Chap03_Prop_SparkleMask_02_Loop_Lod0.prefab",
"IsAttachToTargetEntity": true,
"AttachPoint": "EffRoot",
"Scale": {
"X": 1,
"Y": 1,
"Z": 1
}
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerDebug"
},
"OnEvent": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Hidden",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Hidden"
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"ToState": "Open"
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "Open",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "Open",
"ToState": "Hidden"
}
]
}
]
}
],
"InstanceID": {
"IsDynamic": false,
"FixedValue": {
"Value": 0
}
}
}
]
}
],
"ValueSource": {
"Values": []
}
}