Continental Blockade Script Error
Posted: Sat Mar 05, 2016 1:32 am
This event
[color="#FFA500"]SelectFaction = GBR
SelectRegion = $London
StartEvent = evt_nam_GBR_ContinentalBlockadeFailure_Check|999|2|evt_txt_GBR_ContinentalBlockade_Check|Event-img_GBR_ContinentalBlockade|$London|NULL
Conditions
MinDate = 1806/05/16
MaxDate = 1815/12/31
TurnIndex = 0;12;24;36
EvalEvent = evt_nam_CMN_ContinentalSystem1806;>=;1
RegInit = 1
EvalStrucCount = Area $SmuggleArea_Coastal;FriendAndSelf;STRUCFAM $sfmHarbor;>=;0
SelectFaction = FRA
RegInit = 2
EvalStrucCount = Area $SmuggleArea_Coastal;FriendOnly;STRUCFAM $sfmHarbor;>=;0
RegEval = 1;>;2
RegDeactivate = NULL
Actions
SelectFaction = GBR
ChgEvtOccurs = evt_nam_GBR_ContinentalBlockadeFailuresCount;ChgEventOccurs;1
ChgRgnDecisionFP = $rgdSmuggleGoods;3
ChangeVPCount = 480
ChangeMoneyPool = 300
ChangeFacMorale = 1
SelectFaction = FRA
ChangeFacMorale = -1
ChgEvtOccurs = evt_nam_GBR_ContinentalBlockadeFailuresCount;MaxOccurs;1
ChgEvtOccurs = evt_nam_GBR_ContinentalBlockadeFailuresCount;CuOccurs;1
EndEvent[/color]
is returning:
[color="#FFA500"]Line 63915: EvalEvent evaluated: Checking evt_nam_CMN_ContinentalSystem1806 evt_nam_CMN_ContinentalSystem1806 1 at least equal to 1 True
Line 63916: RegInit 1
Line 63917: => EvalStrucCount: Param0 is not a known Area (check if the alias is valid): Area 430
Line 63919: SelectFaction, selected: France
Line 63920: RegInit 2
Line 63921: => EvalStrucCount: Param0 is not a known Area (check if the alias is valid): Area 430
Line 63922: RegEval: Registry 1 Value: 0 > Registry 2 Value: 0 : False
Line 63923: RegDeactivate[/color]
I don't know what's wrong. Smuggler_area exists. So I'm afraid I can't help with this
[color="#FFA500"]SelectFaction = GBR
SelectRegion = $London
StartEvent = evt_nam_GBR_ContinentalBlockadeFailure_Check|999|2|evt_txt_GBR_ContinentalBlockade_Check|Event-img_GBR_ContinentalBlockade|$London|NULL
Conditions
MinDate = 1806/05/16
MaxDate = 1815/12/31
TurnIndex = 0;12;24;36
EvalEvent = evt_nam_CMN_ContinentalSystem1806;>=;1
RegInit = 1
EvalStrucCount = Area $SmuggleArea_Coastal;FriendAndSelf;STRUCFAM $sfmHarbor;>=;0
SelectFaction = FRA
RegInit = 2
EvalStrucCount = Area $SmuggleArea_Coastal;FriendOnly;STRUCFAM $sfmHarbor;>=;0
RegEval = 1;>;2
RegDeactivate = NULL
Actions
SelectFaction = GBR
ChgEvtOccurs = evt_nam_GBR_ContinentalBlockadeFailuresCount;ChgEventOccurs;1
ChgRgnDecisionFP = $rgdSmuggleGoods;3
ChangeVPCount = 480
ChangeMoneyPool = 300
ChangeFacMorale = 1
SelectFaction = FRA
ChangeFacMorale = -1
ChgEvtOccurs = evt_nam_GBR_ContinentalBlockadeFailuresCount;MaxOccurs;1
ChgEvtOccurs = evt_nam_GBR_ContinentalBlockadeFailuresCount;CuOccurs;1
EndEvent[/color]
is returning:
[color="#FFA500"]Line 63915: EvalEvent evaluated: Checking evt_nam_CMN_ContinentalSystem1806 evt_nam_CMN_ContinentalSystem1806 1 at least equal to 1 True
Line 63916: RegInit 1
Line 63917: => EvalStrucCount: Param0 is not a known Area (check if the alias is valid): Area 430
Line 63919: SelectFaction, selected: France
Line 63920: RegInit 2
Line 63921: => EvalStrucCount: Param0 is not a known Area (check if the alias is valid): Area 430
Line 63922: RegEval: Registry 1 Value: 0 > Registry 2 Value: 0 : False
Line 63923: RegDeactivate[/color]
I don't know what's wrong. Smuggler_area exists. So I'm afraid I can't help with this