I want to stop militias disbanding for FRA.
Found the Units I want to mod in UNIT files.
But the line to edit doesn't seem to be in UNITS.
I think the rule could be in EVENTS or somewhere else.
If someone knows please tell me.
Thanks

Code: Select all
SelectFaction = $FRA
ChgAutoRaise = $uni_CAN_Can1|0|-60
ChgAutoRaise = $uni_CAN_Can2|0|-60
ChgAutoRaise = $uni_CAN_Can3|0|-60
ChgAutoRaise = $uni_CAN_Can4|0|-60
ChgAutoRaise = $uni_CAN_Cou1|0|-5
EndEvent
Code: Select all
StartEvent = evt_FRA_MilitiaDisbandOff|1|0|NULL|NULL|NULL|NULL
Conditions
Actions
SelectFaction = FRA
ChgAutoRaise = $uni_CAN_Can1|0|-60
ChgAutoRaise = $uni_CAN_Can2|0|-60
ChgAutoRaise = $uni_CAN_Can3|0|-60
ChgAutoRaise = $uni_CAN_Can4|0|-60
ChgAutoRaise = $uni_CAN_Cou1|0|-5
EndEvent
Code: Select all
Line 11155: ------------------------------
Line 11157: Started processing event: evt_FRA_MilitiaDisbandOff
Line 11157: This event is not yet referenced, base number of allowed occurences 1
Line 11162: Entering triggered actions for event evt_FRA_MilitiaDisbandOff
Line 11163: SelectFaction, selected: France
Line 11164: SetAutoRaise France Unit type: 222 Max Number: 0 Dismiss perc: -60
Line 11165: SetAutoRaise France Unit type: 223 Max Number: 0 Dismiss perc: -60
Line 11166: SetAutoRaise France Unit type: 224 Max Number: 0 Dismiss perc: -60
Line 11167: SetAutoRaise France Unit type: 225 Max Number: 0 Dismiss perc: -60
Line 11168: SetAutoRaise France Unit type: 227 Max Number: 0 Dismiss perc: -5
Line 11171: Finished processing event: evt_FRA_MilitiaDisbandOff
Line 11171: ------------------------------
------------------------------
Error(s) found: 0
Warning(s) found: 1
--------------END OF SCRIPT----------------
Code: Select all
Line 11155: ------------------------------
Line 11157: Started processing event: evt_FRA_MilitiaDisbandOff
Line 11157: Event already referenced, current occurences 1 Max allowed: 1 >>Sleeping<<
Line 11159: Too many occurences for event evt_FRA_MilitiaDisbandOff further processing aborted.
Line 11163: SelectFaction, selected: France
Line 11171: Finished processing event: evt_FRA_MilitiaDisbandOff
Line 11171: ------------------------------
------------------------------
Error(s) found: 0
Warning(s) found: 0
--------------END OF SCRIPT----------------
Return to “BoA2: Wars in America”
Users browsing this forum: No registered users and 11 guests