Hey I'm working on a mod that gives actor experience when you defeat a ship in battle. Specifically a boarding victory. I've setup a new global switch and I have the ModScriptHook working just fine for when the switch gets flipped it adds experience and turns the switch back off. All I need now is a way to flip that switch after winning a ship boarding battle. I've tried a bunch of things and I must be getting the syntax wrong somewhere. Could You help me with the formatting of the code? Here's what I got for the part that's wrong. Obviously, like I said, it's wrong somewhere and this doesn't work, maybe you know why or what I'm doing wrong? 
 
{
		"$type": "Game.GameData.ShipCaptainGameData, Assembly-CSharp",
      		"DebugName": "CPT_Generic_Merchant_01",
      		"ID": "e6c62655-041d-40eb-9d15-69330d21aad7",
			  	"Components": [
				{
					"$type": "Game.GameData.ShipCaptainComponent, Assembly-CSharp",
					"ShipID": "ad1e31fa-15c9-4a7a-b62d-af4d059ba489",
					"TraitID": "abd4a293-6f64-4fac-9f65-a90f64c18942",
					"Conditionals": {
						"Operator": 0,
						"Components": [
							{
								"$type": "OEIFormats.FlowCharts.ConditionalCall, OEIFormats",
								"Data": {
								  "FullName": "Boolean IsGlobalValue(String, Operator, Int32)",
								  "Parameters": [
									"DG_Global_Ship_Sunk",
									"EqualTo",
									"0"
								  ],
								  "Scripts": [
									{
										"Data": {
											"FullName": "Void SetGlobalValue(String, Int32)",
											"Parameters": [
												"DG_Global_Ship_Sunk",
												"1"
											]
										},
										"Conditional": {
											"Operator": 0,
											"Components": []
										}
									}
								]
								},
								"Not": false,
								"Operator": 0
							  }
						]
					}
				}
			]
		},
	Thanks for your time.