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

213 lines
6.6 KiB
JSON

{
"OnInitSequece": [],
"OnStartSequece": [
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.LoopWaitEntityServerEvent"
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerState01"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState02",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "CustomState02",
"ToState": "CustomState01"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState02",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1020101
}
}
}
]
}
]
}
]
}
]
}
]
},
{
"TaskList": [
{
"$type": "RPG.GameCore.WaitEntityEvent",
"EventName": {
"Value": "Clt_TriggerState02"
},
"OnEvent": [
{
"$type": "RPG.GameCore.PredicateTaskList",
"Predicate": {
"$type": "RPG.GameCore.ByCompareEntityAuthoritySide"
},
"SuccessTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState01",
"OnSuccess": [
{
"$type": "RPG.GameCore.AdvClientChangePropState",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"FromState": "CustomState01",
"ToState": "CustomState02"
}
]
}
]
}
],
"FailedTaskList": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState01",
"OnSuccess": [
{
"$type": "RPG.GameCore.PropReqInteract",
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
},
"InteractID": {
"IsDynamic": false,
"FixedValue": {
"Value": 1010102
}
}
}
]
}
]
}
]
}
]
}
]
},
{
"Order": 510,
"TaskList": [
{
"$type": "RPG.GameCore.WaitPropStateChange",
"FromAnyState": true,
"ToAnyState": true,
"OnChange": [
{
"$type": "RPG.GameCore.GenericSwitchCase",
"SwitchRef": {
"$type": "RPG.GameCore.SwitchRefPropState"
},
"Cases": [
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState01",
"OnSuccess": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_penocony_cinema_reel_loop"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
},
{
"$type": "RPG.GameCore.PropStateCaseContainer",
"Case": "CustomState02",
"OnSuccess": [
{
"$type": "RPG.GameCore.TriggerSound",
"SoundName": {
"Value": "Ev_sfx_penocony_cinema_reel_loop_stop"
},
"TargetType": {
"$type": "RPG.GameCore.TargetFetchAdvPropEx"
}
}
]
}
]
}
]
}
]
}
],
"ValueSource": {
"Values": []
},
"Type": "Entity"
}