Sun Feb 22, 2009 12:05 pm
Hi folks, I have an event that places traders inside fort Detroit when Indians besige the structure. When the Indians leave the region the traders leave the fort.
However both events happen on the same turn. When Indians first move into the region traders move into the fort and immediatly move out.
Event 1 (This should be true)
SelectSubUnits Region $Le Detroit|Families $famRaider
EvalSubUnitCount >=|1
Event 2 (This should be false)
SelectSubUnits Region $Le Detroit|Families $famRaider
EvalSubUnitCount =|0
The log has this entry for the second event :-
EvalSubUnitCount: Natives Selected SUs: 18 against 0 - Operator: = Result: True
18 = 0 is True!
Something wrong here?
Full events attached and log below.
Cheers, Chris
Line 3053: SelectFactions, 1 Faction selected: Great Britain
Line 3055: Started processing event: evt_nam_DetroitTraders1PW
Line 3055: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 3058: EvalRgnStruc: Checking 138 Le Detroit for the presence of a particular structure True
Line 3060: SelectFactions, 1 Faction selected: Natives
Line 3061: SelectSubUnits 1000812 Braves added, List Count now at: 1
Line 3061: SelectSubUnits 1000811 Braves added, List Count now at: 2
Line 3061: SelectSubUnits 1000808 Braves added, List Count now at: 3
Line 3061: SelectSubUnits 1000807 Braves added, List Count now at: 4
Line 3061: SelectSubUnits 1000783 Braves added, List Count now at: 5
Line 3061: SelectSubUnits 1000782 Braves added, List Count now at: 6
Line 3061: SelectSubUnits 1000786 Braves added, List Count now at: 7
Line 3061: SelectSubUnits 1000785 Braves added, List Count now at: 8
Line 3061: SelectSubUnits 1000777 Braves added, List Count now at: 9
Line 3061: SelectSubUnits 1000776 Braves added, List Count now at: 10
Line 3061: SelectSubUnits 1000780 Braves added, List Count now at: 11
Line 3061: SelectSubUnits 1000779 Braves added, List Count now at: 12
Line 3061: SelectSubUnits 1000774 Braves added, List Count now at: 13
Line 3061: SelectSubUnits 1000773 Braves added, List Count now at: 14
Line 3061: SelectSubUnits 1000794 Braves added, List Count now at: 15
Line 3061: SelectSubUnits 1000793 Braves added, List Count now at: 16
Line 3061: SelectSubUnits 1000815 Braves added, List Count now at: 17
Line 3061: SelectSubUnits 1000814 Braves added, List Count now at: 18
Line 3061: SelectSubUnits finished Regions Selected: 1 SubUnits Selected: 18
Line 3062: EvalSubUnitCount: Natives Selected SUs: 18 against 1 - Operator: >= Result: True
Line 3064: SelectFactions, 1 Faction selected: Great Britain
Line 3066: Entering triggered actions for event evt_nam_DetroitTraders1PW
Line 3068: SelectFactions, 1 Faction selected: Great Britain
Line 3069: SelectRegion, 138 Le Detroit selected (simple mode)
Line 3077: Great Britain Detroit Traders created in region Le Detroit
Line 3082: Traders created in group Detroit Traders
Line 3084: Finished processing event: evt_nam_DetroitTraders1PW
Line 3084: ------------------------------
Line 3086: SelectFactions, 1 Faction selected: Great Britain
Line 3088: Started processing event: evt_nam_DetroitTraders2PW
Line 3088: Event already referenced, current occurences 0 Max allowed: 1 <<Active>>
Line 3091: EvalEvent evaluated: Checking evt_nam_DetroitTraders1PW 1 equal to 1 True
Line 3092: EvalRgnStruc: Checking 138 Le Detroit for the presence of a particular structure True
Line 3094: SelectFactions, 1 Faction selected: Natives
Line 3095: SelectSubUnits 1000812 Braves added, List Count now at: 1
Line 3095: SelectSubUnits 1000811 Braves added, List Count now at: 2
Line 3095: SelectSubUnits 1000808 Braves added, List Count now at: 3
Line 3095: SelectSubUnits 1000807 Braves added, List Count now at: 4
Line 3095: SelectSubUnits 1000783 Braves added, List Count now at: 5
Line 3095: SelectSubUnits 1000782 Braves added, List Count now at: 6
Line 3095: SelectSubUnits 1000786 Braves added, List Count now at: 7
Line 3095: SelectSubUnits 1000785 Braves added, List Count now at: 8
Line 3095: SelectSubUnits 1000777 Braves added, List Count now at: 9
Line 3095: SelectSubUnits 1000776 Braves added, List Count now at: 10
Line 3095: SelectSubUnits 1000780 Braves added, List Count now at: 11
Line 3095: SelectSubUnits 1000779 Braves added, List Count now at: 12
Line 3095: SelectSubUnits 1000774 Braves added, List Count now at: 13
Line 3095: SelectSubUnits 1000773 Braves added, List Count now at: 14
Line 3095: SelectSubUnits 1000794 Braves added, List Count now at: 15
Line 3095: SelectSubUnits 1000793 Braves added, List Count now at: 16
Line 3095: SelectSubUnits 1000815 Braves added, List Count now at: 17
Line 3095: SelectSubUnits 1000814 Braves added, List Count now at: 18
Line 3095: SelectSubUnits finished Regions Selected: 1 SubUnits Selected: 18
Line 3096: EvalSubUnitCount: Natives Selected SUs: 18 against 0 - Operator: = Result: True
Line 3098: SelectFactions, 1 Faction selected: Great Britain
Line 3100: Entering triggered actions for event evt_nam_DetroitTraders2PW
Line 3101: SelectSubUnits 1001114 Traders added, List Count now at: 1
Line 3101: SelectSubUnits finished Regions Selected: 1 SubUnits Selected: 1
Line 3102: AlterCuSubUnit Probability set to: 100
Line 3102: AlterCuSubUnit Attempts set to: 1
Line 3102: RemoveCuSubUnit, operation done on Traders Unit: Traders Group: Detroit Traders Faction: Great Britain in region: Le Detroit
Line 3104: Finished processing event: evt_nam_DetroitTraders2PW
-
Attachments
-
[The extension xls has been deactivated and can no longer be displayed.]