Amounts of units alive at end scenario

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
StuccoFresco
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 670
Joined: Sun Feb 10, 2019 11:10 am

Amounts of units alive at end scenario

Post by StuccoFresco »

I tried a dozen times but the trigger system absolutely evades any logic to me. The same trigger fails with an alliance and works for the other, with the same parameters. Victory conditions trigger accurately for hotseat mode, but are wrong when I test it with AI side.

I now resort to openly ask for someone to teach me how to achieve my objective: I have a scenario where I'd like to punish players for mindlessly sacrificing units, through primary and secondary objectives and relative triggers.

Alliance A must not have less than 24 units alive (50% of starting force INCLUDING REINFORCEMENTS) at the end of the scenario to win a Secondary Objective. Must not have less than 16 units alive (33% of starting force INCLUDING REINFORCEMENTS) at the end of the scenario to win a Primary Objective. Alliance A receives 13 units on Turn 5 for a total of 48 units at max capacity.

Alliance B must not have less than 27 units alive (50% of starting force) at the end of the scenario to win a Secondary Objective. Must not have less than 18 units alive (33% of starting force) at the end of the scenario to win a Primary Objective.


What kind of triggers do I have to write, and how? I tried everything, writing 8 triggers, but the < and > seems to work weirdly... A's secondary trigger works with one set, B's work with the opposite signs...
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Amounts of units alive at end scenario

Post by Erik2 »

The triggers would be variations of the same basic trigger.
Note that the 'Check unit count' is not always useful for scenarios in a campaign as the game keep tracks of units lost in previous scenarios in the campaign.
trigger-a.jpg
trigger-a.jpg (104.76 KiB) Viewed 729 times
trigger-b.jpg
trigger-b.jpg (114.5 KiB) Viewed 729 times
trigger-c.jpg
trigger-c.jpg (117.66 KiB) Viewed 729 times
StuccoFresco
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 670
Joined: Sun Feb 10, 2019 11:10 am

Re: Amounts of units alive at end scenario

Post by StuccoFresco »

I missed that "link to objective", I'll try to use it.
StuccoFresco
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 670
Joined: Sun Feb 10, 2019 11:10 am

Re: Amounts of units alive at end scenario

Post by StuccoFresco »

IT WORKS!

But why do we have to link it to the objective, if we already define which objective to point at in the "effects" tab???
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Amounts of units alive at end scenario

Post by Erik2 »

StuccoFresco wrote: Wed Aug 19, 2020 3:21 pm IT WORKS!

But why do we have to link it to the objective, if we already define which objective to point at in the "effects" tab???
The condition link to the objective allows you to count number of units destroyed, objectives taken etc.
The effect link is only used for completed/failed or still open.
Welcome to the world of scripting.
Post Reply

Return to “Order of Battle : World War II - Scenario Design”