{ "OnInitSequece": [ { "TaskList": [ { "$type": "RPG.GameCore.GenericSwitchCase", "SwitchRef": { "$type": "RPG.GameCore.SwitchRefPropState" }, "Cases": [ { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "CustomState01", "OnSuccess": [ { "$type": "RPG.GameCore.PropSwitchMaterial", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "MatID": { "IsDynamic": false, "FixedValue": { "Value": 2 } } } ] }, { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "CustomState02", "OnSuccess": [ { "$type": "RPG.GameCore.PropSwitchMaterial", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "MatID": { "IsDynamic": false, "FixedValue": { "Value": 1 } } } ] }, { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "CustomState03", "OnSuccess": [ { "$type": "RPG.GameCore.PropSwitchMaterial", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "MatID": { "IsDynamic": false, "FixedValue": { "Value": 0 } } } ] } ] } ] } ], "OnStartSequece": [ { "TaskList": [ { "$type": "RPG.GameCore.WaitPropStateChangeV2", "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.PropSwitchMaterial", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "MatID": { "IsDynamic": false, "FixedValue": { "Value": 2 } } } ] }, { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "CustomState02", "OnSuccess": [ { "$type": "RPG.GameCore.PropSwitchMaterial", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "MatID": { "IsDynamic": false, "FixedValue": { "Value": 1 } } } ] }, { "$type": "RPG.GameCore.PropStateCaseContainer", "Case": "CustomState03", "OnSuccess": [ { "$type": "RPG.GameCore.PropSwitchMaterial", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "MatID": { "IsDynamic": false, "FixedValue": { "Value": 0 } } } ] } ] } ] } ] }, { "TaskList": [ { "$type": "RPG.GameCore.WaitEntityEvent", "EventName": { "Value": "Clt_TriggerLevel01" }, "OnEvent": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "ToState": "CustomState01", "CanChangeFromAnyState": true } ] } ] }, { "TaskList": [ { "$type": "RPG.GameCore.WaitEntityEvent", "EventName": { "Value": "Clt_TriggerLevel02" }, "OnEvent": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "ToState": "CustomState02", "CanChangeFromAnyState": true } ] } ] }, { "TaskList": [ { "$type": "RPG.GameCore.WaitEntityEvent", "EventName": { "Value": "Clt_TriggerLevel03" }, "OnEvent": [ { "$type": "RPG.GameCore.AdvClientChangePropState", "TargetType": { "$type": "RPG.GameCore.TargetFetchAdvPropEx" }, "ToState": "CustomState03", "CanChangeFromAnyState": true } ] } ] } ], "ValueSource": { "Values": [] }, "Type": "Entity", "EntityEventList": [ { "Name": "Clt_TriggerLevel01" }, { "Name": "Clt_TriggerLevel02" }, { "Name": "Clt_TriggerLevel03" } ] }