Steps to reproduce:
Open the event file france.txt with a text editor. In the first event 2800 replace
with
After loading up the 1939 scenario and manually firing event 2800 you "should" see messages like
What you actually see is
Some testing shows that using "type = switch_allegiance which = -1 where = ENG when = 25" does not report anything on firing.
"type = switch_allegiance which = -2 where = ENG when = 25" does report "25 percent of army corps ..."
"type = switch_allegiance which = -3 where = ENG when = 25" does report two instances of "25 percent of army corps..."
The same display problem with delete_unit command.
The commands are working, the units are deleted or switched to the new owner, it's just not displayed/reported properly.
Open the event file france.txt with a text editor. In the first event 2800 replace
Code:
# Delete the original French Army and Airforce
command = { type = delete_unit which = -1 when = 100 }
command = { type = delete_unit which = -3 when = 100 }
# French Navy Switch mostly to Vichy
command = { type = switch_allegiance which = -2 where = VIC when = 90 }
Code:
# Delete the original French Army and Airforce
#command = { type = delete_unit which = -1 when = 100 }
#command = { type = delete_unit which = -3 when = 100 }
# French Navy Switch mostly to Vichy
command = { type = switch_allegiance which = -2 where = VIC when = 90 }
command = { type = switch_allegiance which = -1 where = VIC when = 80 }
command = { type = switch_allegiance which = -3 where = VIC when = 70 }
Code:
90 percent of our fleets will join Vichy France
80 percent of our armycorps will join Vichy France
70 percent of our air wings will join Vichy France
Code:
Grant independence to Vichy France <- this is OK
Grant independence to Vichy France <- again ?
Grant independence to Vichy France <- and another one?
70 percent of our army corps will join Vichy France <- should be the air force
Some testing shows that using "type = switch_allegiance which = -1 where = ENG when = 25" does not report anything on firing.
"type = switch_allegiance which = -2 where = ENG when = 25" does report "25 percent of army corps ..."
"type = switch_allegiance which = -3 where = ENG when = 25" does report two instances of "25 percent of army corps..."
The same display problem with delete_unit command.
The commands are working, the units are deleted or switched to the new owner, it's just not displayed/reported properly.
Upvote
0