I am having some issues with the fuel system triggers. First, it appears that there is a typo in the SDK regarding the fuel tank imbalance conditions. The SDK says (for the imbalance below condition for example) :
"Checks if there is a relative fuel imbalance between two tanks below the given Threshold (threshold in Gallons). Requires the Target key to hold two tank names, eg:
#Target=TankLeft,TankRight"
I think this should be "#Target:TankLeft,TankRight", that is, a colon instead of an equals sign after the #Target.
Second, I am trying to use the StopTrigger event to prevent a trigger from occurring, but am unable to get it to work. I would like to use a fuel imbalance trigger to open certain fuel valves, but only if the overall fuel quantity in the associated tanks is less than a certain value.
The triggers I have (at this point in development) are:
Trigger.1 = Name:SetFwdGalleryJunc1#Target:LeftInner#Threshold:1#Condition:TankQuantityAbove#EffectTrue:SetJunction.FwdGalleryJunction.1
Trigger.2 = Name:InnerXfer1Start#Target:Feed1#Threshold:6437#Condition:TankQuantityBelow#EffectTrue:OpenValve.FeedTank1FwdTransferValve,StopTrigger.InnerXfer4Start
Trigger.3 = Name:InnerXfer2Start#Target:Feed2#Threshold:6858#Condition:TankQuantityBelow#EffectTrue:OpenValve.FeedTank2FwdTransferValve
Trigger.4 = Name:InnerXfer3Start#Target:Feed3#Threshold:6858#Condition:TankQuantityBelow#EffectTrue:OpenValve.FeedTank3FwdTransferValve
Trigger.5 = Name:InnerXfer4Start#Target:Feed4#Threshold:6437#Condition:TankQuantityBelow#EffectTrue:OpenValve.FeedTank4FwdTransferValve,StopTrigger.InnerXfer1Start
Trigger.6 = Name:FeedTank1EndRefill#Target:Feed1#Threshold:6765#Condition:TankQuantityAbove#EffectTrue:CloseValve.FeedTank1FwdTransferValve,StopTrigger.Equalize1and4
Trigger.7 = Name:FeedTank2EndRefill#Target:Feed2#Threshold:7186#Condition:TankQuantityAbove#EffectTrue:CloseValve.FeedTank2FwdTransferValve
Trigger.8 = Name:FeedTank3EndReFill#Target:Feed3#Threshold:7186#Condition:TankQuantityAbove#EffectTrue:CloseValve.FeedTank3FwdTransferValve
Trigger.9 = Name:FeedTank4EndReFill#Target:Feed4#Threshold:6765#Condition:TankQuantityAbove#EffectTrue:CloseValve.FeedTank4FwdTransferValve,StopTrigger.Equalize1and4
Trigger.10 = Name:Equalize1and4#Target:Feed1,Feed4#Threshold:10#Condition:TankAbsImbalanceBelow#EffectTrue:OpenValve.FeedTank1FwdTransferValve,OpenValve.FeedTank4FwdTransferValve
The bolded triggers are the ones I am having difficulty with. Triggers 6 and 9 seem to be unable to stop Trigger 10 from occurring. The SimVars show triggers 6, 9, and 10 to all be active at the same time.
Question: Is the StopTrigger effect supposed to deactivate an already activated trigger, or to prevent a not yet activated trigger from activating, or both?